Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/15135ce16f76d1635fa5606c99822b60bced94bf)
This commit is contained in:
@@ -407,6 +407,13 @@ namespace Game.BattleGrounds
|
||||
SetStatus(BattlegroundStatus.InProgress);
|
||||
SetStartDelayTime(StartDelayTimes[BattlegroundConst.EventIdFourth]);
|
||||
|
||||
foreach (var (guid, _) in GetPlayers())
|
||||
{
|
||||
Player player = Global.ObjAccessor.FindPlayer(guid);
|
||||
if (player != null)
|
||||
player.AtStartOfEncounter();
|
||||
}
|
||||
|
||||
// Remove preparation
|
||||
if (IsArena())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user