fix(Core/Spells): Fix Seal of Vengeance using own stack for damage (#24985)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-03-03 22:53:15 -06:00
committed by GitHub
parent ac526c950c
commit 17322e189d

View File

@@ -1975,8 +1975,10 @@ class spell_pal_seal_of_vengeance_aura : public AuraScript
void Register() override
{
DoCheckProc += AuraCheckProcFn(spell_pal_seal_of_vengeance_aura::CheckProc);
OnEffectProc += AuraEffectProcFn(spell_pal_seal_of_vengeance_aura::HandleApplyDoT, EFFECT_0, SPELL_AURA_DUMMY);
// HandleSeal reads stacks BEFORE HandleApplyDoT increments them,
// so the attacking hit does not benefit from its own stack application.
OnEffectProc += AuraEffectProcFn(spell_pal_seal_of_vengeance_aura::HandleSeal, EFFECT_0, SPELL_AURA_DUMMY);
OnEffectProc += AuraEffectProcFn(spell_pal_seal_of_vengeance_aura::HandleApplyDoT, EFFECT_0, SPELL_AURA_DUMMY);
}
private: