Core/Spells: Bladestorm shouldn't drop the flag, closes issue 4222

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-09-28 08:43:42 +03:00
parent f106db551b
commit 1037c723a1
@@ -4222,10 +4222,6 @@ void AuraEffect::HandleModStateImmunityMask(AuraApplication const * aurApp, uint
immunity_list.pop_back(); // delete Disarm
target->RemoveAurasByType(SPELL_AURA_MOD_ROOT);
target->RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED);
// also drop flag
if (Player* player = target->ToPlayer())
if (Battleground* bg = player->GetBattleground())
bg->EventPlayerDroppedFlag(player);
}
if (apply && GetSpellProto()->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY)