aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPesthuf <Paladion@web.de>2012-07-20 17:32:35 +0200
committerPesthuf <Paladion@web.de>2012-07-25 14:18:35 +0200
commit2f6583094d6df569176c676bd631cb5e6231e966 (patch)
tree2f4cde1bf0f44c25825b6dbe99df8aa4f06dca8d
parent9d4a5e2a6ca6a5b0676db842de3e7ce48b68d369 (diff)
Core/Spells: Haunt should heal the Warlock when the target dies or the aura is reapplied.
-rw-r--r--src/server/scripts/Spells/spell_warlock.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp
index 74118599b9f..9701418e02e 100644
--- a/src/server/scripts/Spells/spell_warlock.cpp
+++ b/src/server/scripts/Spells/spell_warlock.cpp
@@ -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();