Core/Auras: Defined and implemented many new interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b5a46ca2bb3a4632cb9914e0899df611a47d935)
This commit is contained in:
@@ -672,7 +672,7 @@ namespace Game.BattleGrounds.Zones
|
||||
SetFlagPicker(player.GetGUID());
|
||||
//get flag aura on player
|
||||
player.CastSpell(player, EotSMisc.SpellNetherstormFlag, true);
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.EnterPvpCombat);
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.PvPActive);
|
||||
|
||||
if (player.GetTeam() == Team.Alliance)
|
||||
SendBroadcastText(EotSBroadcastTexts.TakenFlag, ChatMsg.BgSystemAlliance, player);
|
||||
@@ -803,7 +803,7 @@ namespace Game.BattleGrounds.Zones
|
||||
m_FlagState = EotSFlagState.WaitRespawn;
|
||||
player.RemoveAurasDueToSpell(EotSMisc.SpellNetherstormFlag);
|
||||
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.EnterPvpCombat);
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.PvPActive);
|
||||
|
||||
if (player.GetTeam() == Team.Alliance)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user