From 613d5368a56e0a1c4a1e1ace16339f4af62c391d Mon Sep 17 00:00:00 2001 From: kandera Date: Mon, 26 Mar 2012 15:15:06 -0300 Subject: Core/Spells: and another mistake from the misdirection fix >.> --- src/server/scripts/Spells/spell_hunter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index 7987c7a7358..5d8e8f84e6a 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -573,7 +573,7 @@ class spell_hun_misdirection : public SpellScriptLoader void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { if (Unit* caster = GetCaster()) - if (GetDuration()) + if (!GetDuration()) caster->SetReducedThreatPercent(0, 0); } -- cgit v1.2.3