Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
@@ -688,7 +688,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))
|
||||
@@ -697,7 +697,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