Core/Spells: Haunt should heal the Warlock when the target dies or the aura is reapplied.

This commit is contained in:
Pesthuf
2012-07-25 14:18:35 +02:00
parent 9d4a5e2a6c
commit 2f6583094d
@@ -561,9 +561,6 @@ class spell_warl_haunt : public SpellScriptLoader
void HandleRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
{
if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_ENEMY_SPELL && GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE)
return;
if (Unit* caster = GetCaster())
{
int32 amount = aurEff->GetAmount();