Core/Spells: Ensure Haunt's healing takes in consideration crit damage
This commit is contained in:
1 parent
4ed4b165f1
commit
0a641bace9
1 file changed
+2
-2
@@ -518,7 +518,7 @@ class spell_warl_haunt : public SpellScriptLoader
|
||||
{
|
||||
PrepareSpellScript(spell_warl_haunt_SpellScript);
|
||||
|
||||
void HandleOnHit()
|
||||
void HandleAfterHit()
|
||||
{
|
||||
if (Aura* aura = GetHitAura())
|
||||
if (AuraEffect* aurEff = aura->GetEffect(EFFECT_1))
|
||||
@@ -527,7 +527,7 @@ class spell_warl_haunt : public SpellScriptLoader
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnHit += SpellHitFn(spell_warl_haunt_SpellScript::HandleOnHit);
|
||||
AfterHit += SpellHitFn(spell_warl_haunt_SpellScript::HandleAfterHit);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user