fix for vanishing castbars

fix for vanishing castbars
This commit is contained in:
Meow
2026-02-07 21:04:02 +01:00
parent f43b8f19f8
commit fcdd75d4c5
+5 -2
View File
@@ -1197,9 +1197,12 @@ if hasNampower then
local numHit = arg6 or 0
local numMissed = arg7 or 0
-- Clear cast bar
-- Clear cast bar only if SPELL_GO matches the active cast
-- (Reactive procs like Frost Armor trigger SPELL_GO but shouldn't clear the castbar)
if casterGuid and pfUI.libdebuff_casts[casterGuid] then
pfUI.libdebuff_casts[casterGuid] = nil
if pfUI.libdebuff_casts[casterGuid].spellID == spellId then
pfUI.libdebuff_casts[casterGuid] = nil
end
end
if numMissed > 0 or numHit == 0 then return end