Core: Updated to 11.1.7

Port From (https://github.com/TrinityCore/TrinityCore/commit/ceb8d561b44579118b109a9ff71ba415df53bbdc)
This commit is contained in:
Hondacrx
2025-08-18 14:47:48 -04:00
parent 5f6329665a
commit ebd9c9e636
35 changed files with 1824 additions and 1603 deletions
@@ -461,13 +461,13 @@ namespace Game.BattleGrounds
switch ((BattlegroundQueueIdType)bgQueueTypeId.BgType)
{
case BattlegroundQueueIdType.Battleground:
if (battlemasterList.InstanceType != (int)MapTypes.Battleground)
if (battlemasterList.GetPvpType() != BattlemasterType.Battleground)
return false;
if (bgQueueTypeId.TeamSize != 0)
return false;
break;
case BattlegroundQueueIdType.Arena:
if (battlemasterList.InstanceType != (int)MapTypes.Arena)
if (battlemasterList.GetPvpType() != BattlemasterType.Arena)
return false;
if (!bgQueueTypeId.Rated)
return false;
@@ -479,7 +479,7 @@ namespace Game.BattleGrounds
return false;
break;
case BattlegroundQueueIdType.ArenaSkirmish:
if (battlemasterList.InstanceType != (int)MapTypes.Arena)
if (battlemasterList.GetPvpType() != BattlemasterType.Arena)
return false;
if (!bgQueueTypeId.Rated)
return false;
@@ -785,7 +785,7 @@ namespace Game.BattleGrounds
public BattlemasterListRecord BattlemasterEntry;
public List<int> MapIDs = new();
public bool IsArena() { return BattlemasterEntry.InstanceType == (uint)MapTypes.Arena; }
public bool IsArena() { return BattlemasterEntry.GetPvpType() == BattlemasterType.Arena; }
public ushort GetMinPlayersPerTeam()
{