diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2012-09-24 12:39:02 -0400 |
---|---|---|
committer | Kandera <KanderaDev@gmail.com> | 2012-09-24 12:39:02 -0400 |
commit | 118825601b101eb6d3b9c1678afed1c405235d8e (patch) | |
tree | fa7f2ac9cfd8b617f6a9ec5c1b1d9c76dfadd076 /src | |
parent | 1c1405cb25cc9152c1477b9769cf45aa43ba4bc8 (diff) |
Core/Spells: fix misdirection removal on cancel. Closes #7776
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 a2ee6c1c3a3..e445f68cfba 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -574,7 +574,7 @@ class spell_hun_misdirection : public SpellScriptLoader void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { if (Unit* caster = GetCaster()) - if (!GetDuration()) + if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_DEFAULT) caster->SetReducedThreatPercent(0, 0); } |