Core/Auras: Defined and implemented many new interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b5a46ca2bb3a4632cb9914e0899df611a47d935)
This commit is contained in:
@@ -259,7 +259,7 @@ namespace Game.BattleGrounds.Zones
|
||||
|
||||
Team winner = 0;
|
||||
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.EnterPvpCombat);
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.PvPActive);
|
||||
if (player.GetTeam() == Team.Alliance)
|
||||
{
|
||||
if (!IsHordeFlagPickedup())
|
||||
@@ -535,7 +535,7 @@ namespace Game.BattleGrounds.Zones
|
||||
//target_obj.Delete();
|
||||
}
|
||||
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.EnterPvpCombat);
|
||||
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.PvPActive);
|
||||
}
|
||||
|
||||
public override void RemovePlayer(Player player, ObjectGuid guid, Team team)
|
||||
|
||||
Reference in New Issue
Block a user