Skip to content

Commit

Permalink
Fixed a bug where curse target timer didn't get canceled when dispell…
Browse files Browse the repository at this point in the history
…ed on Jindo
  • Loading branch information
MysticalOS committed Nov 9, 2023
1 parent cd0f4de commit 9f44ccc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DBM-Raids-Vanilla/VanillaZG/Jindo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 24306 17172 24261",
"SPELL_AURA_REMOVED 17172",
"SPELL_AURA_REMOVED 17172 24306",
"SPELL_CAST_SUCCESS 24466",
"SPELL_SUMMON 24309 24262"
)
Expand Down Expand Up @@ -53,6 +53,8 @@ end
function mod:SPELL_AURA_REMOVED(args)
if args:IsSpell(17172) and args:IsDestTypePlayer() then
timerHex:Stop(args.destName)
elseif args:IsSpell(24306) then
timerDelusion:Stop(args.destName)
end
end

Expand Down

0 comments on commit 9f44ccc

Please sign in to comment.