Added AlteracValley Battleground

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2024-03-02 12:45:34 -05:00
parent 31342a9f31
commit 80c7110988
2 changed files with 1410 additions and 8 deletions
@@ -3,15 +3,15 @@
using Framework.Constants;
using Framework.Database;
using Game.Arenas;
using Game.BattleGrounds.Zones;
using Game.BattleGrounds.Zones.AlteracValley;
using Game.BattleGrounds.Zones.EyeofStorm;
using Game.DataStorage;
using Game.Entities;
using Game.Networking.Packets;
using System;
using System.Collections.Generic;
using System.Linq;
using Game.BattleGrounds.Zones;
using Game.BattleGrounds.Zones.EyeofStorm;
namespace Game.BattleGrounds
{
@@ -25,7 +25,7 @@ namespace Game.BattleGrounds
public void DeleteAllBattlegrounds()
{
foreach (var data in bgDataStore.Values.ToList())
while(!data.m_Battlegrounds.Empty())
while (!data.m_Battlegrounds.Empty())
data.m_Battlegrounds.First().Value.Dispose();
bgDataStore.Clear();
File diff suppressed because it is too large Load Diff