diff options
| author | Pesthuf <Paladion@web.de> | 2012-07-20 17:32:35 +0200 |
|---|---|---|
| committer | Pesthuf <Paladion@web.de> | 2012-07-25 14:18:35 +0200 |
| commit | 2f6583094d6df569176c676bd631cb5e6231e966 (patch) | |
| tree | 2f4cde1bf0f44c25825b6dbe99df8aa4f06dca8d | |
| parent | 9d4a5e2a6ca6a5b0676db842de3e7ce48b68d369 (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.cpp | 3 |
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(); |
