From 5eabc4f34105689a349c0589009c1a2f7f0e4eb5 Mon Sep 17 00:00:00 2001 From: pepopo978 Date: Mon, 2 Feb 2026 07:24:57 -0800 Subject: [PATCH] don't use SPELLCAST_FAILED for isChanneling --- Cursive.toc | 4 ++-- curses.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cursive.toc b/Cursive.toc index 97a8553..71d6bbc 100644 --- a/Cursive.toc +++ b/Cursive.toc @@ -1,6 +1,6 @@ ## Interface: 11200 -## Title: [|CFF33AAFFSUPERWOW|R] Cursive 2.6.5 -## Title-zhCN: [|CFF33AAFFSUPERWOW|R] Cursive 2.6.5 +## Title: [|CFF33AAFFSUPERWOW|R] Cursive 2.6.6 +## Title-zhCN: [|CFF33AAFFSUPERWOW|R] Cursive 2.6.6 ## Author: Pepopo ## Notes: Uses SuperWoW GUIDs to show units in combat and track curses ## Notes-zhCN: 使用SuperWoW的GUID功能来显示战斗中的单位并监视诅咒等 diff --git a/curses.lua b/curses.lua index 71a0bb3..2e8008f 100644 --- a/curses.lua +++ b/curses.lua @@ -270,9 +270,9 @@ end Cursive:RegisterEvent("SPELLCAST_CHANNEL_START", function() curses.isChanneling = true end); + Cursive:RegisterEvent("SPELLCAST_CHANNEL_STOP", StopChanneling); Cursive:RegisterEvent("SPELLCAST_INTERRUPTED", StopChanneling); -Cursive:RegisterEvent("SPELLCAST_FAILED", StopChanneling); Cursive:RegisterEvent("UNIT_CASTEVENT", function(casterGuid, targetGuid, event, spellID, castDuration) -- immolate will fire both start and cast