diff options
author | Asterc <sirikbau1@hotmail.com> | 2015-12-02 14:27:10 -0200 |
---|---|---|
committer | Asterc <sirikbau1@hotmail.com> | 2015-12-02 19:30:12 -0200 |
commit | f8f815dbc3a9ba7ab7fd0700722e4c589e88edff (patch) | |
tree | fc6db80d359307e31609ce1b27dbb92eaf55c2dc /src | |
parent | 94e4bddb903d581293b5a7f50f9b32d1262d2c20 (diff) |
Correctly reset the redirected threat of the hunter's spell Misdirection in cases when it has RemoveMode AURA_REMOVE_BY_DEFAULT
Closes #15930
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_hunter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index f2871871c30..0ca4112b288 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -480,7 +480,7 @@ class spell_hun_misdirection : public SpellScriptLoader void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { - if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_DEFAULT) + if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_DEFAULT || !GetTarget()->HasAura(SPELL_HUNTER_MISDIRECTION_PROC)) GetTarget()->ResetRedirectThreat(); } |