don't use SPELLCAST_FAILED for isChanneling

This commit is contained in:
pepopo978
2026-02-02 07:24:57 -08:00
parent d0442edde3
commit 5eabc4f341
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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功能来显示战斗中的单位并监视诅咒等
+1 -1
View File
@@ -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