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
+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