fix(Battlefield/WG): set default maxplayer 120, minlevel 75 (#21937)

This commit is contained in:
NoxMax
2025-04-18 22:59:06 -06:00
committed by GitHub
parent 575283f46c
commit cc05127276
3 changed files with 10 additions and 10 deletions

View File

@@ -3436,14 +3436,14 @@ Wintergrasp.Enable = 1
#
# Wintergrasp.PlayerMax
# Description: Maximum number of players allowed in Wintergrasp.
# Default: 100
# Description: Maximum number of players allowed in Wintergrasp per team.
# Default: 120
Wintergrasp.PlayerMax = 100
Wintergrasp.PlayerMax = 120
#
# Wintergrasp.PlayerMin
# Description: Minimum number of players required for Wintergrasp.
# Description: Minimum number of players required for Wintergrasp per team.
# Default: 0
Wintergrasp.PlayerMin = 0
@@ -3451,9 +3451,9 @@ Wintergrasp.PlayerMin = 0
#
# Wintergrasp.PlayerMinLvl
# Description: Required character level for the Wintergrasp battle.
# Default: 77
# Default: 75
Wintergrasp.PlayerMinLvl = 77
Wintergrasp.PlayerMinLvl = 75
#
# Wintergrasp.BattleTimer

View File

@@ -383,8 +383,8 @@ protected:
uint32 m_ZoneId; // ZoneID of Wintergrasp = 4197
uint32 m_MapId; // MapId where is Battlefield
Map* m_Map;
uint32 m_MaxPlayer; // Maximum number of player that participated to Battlefield
uint32 m_MinPlayer; // Minimum number of player for Battlefield start
uint32 m_MaxPlayer; // Maximum number of players per team that participated to Battlefield
uint32 m_MinPlayer; // Minimum number of players per team for Battlefield start
uint32 m_MinLevel; // Required level to participate at Battlefield
uint32 m_BattleTime; // Length of a battle
uint32 m_NoWarBattleTime; // Time between two battles

View File

@@ -1167,9 +1167,9 @@ void World::LoadConfigSettings(bool reload)
// Wintergrasp
_int_configs[CONFIG_WINTERGRASP_ENABLE] = sConfigMgr->GetOption<int32>("Wintergrasp.Enable", 1);
_int_configs[CONFIG_WINTERGRASP_PLR_MAX] = sConfigMgr->GetOption<int32>("Wintergrasp.PlayerMax", 100);
_int_configs[CONFIG_WINTERGRASP_PLR_MAX] = sConfigMgr->GetOption<int32>("Wintergrasp.PlayerMax", 120);
_int_configs[CONFIG_WINTERGRASP_PLR_MIN] = sConfigMgr->GetOption<int32>("Wintergrasp.PlayerMin", 0);
_int_configs[CONFIG_WINTERGRASP_PLR_MIN_LVL] = sConfigMgr->GetOption<int32>("Wintergrasp.PlayerMinLvl", 77);
_int_configs[CONFIG_WINTERGRASP_PLR_MIN_LVL] = sConfigMgr->GetOption<int32>("Wintergrasp.PlayerMinLvl", 75);
_int_configs[CONFIG_WINTERGRASP_BATTLETIME] = sConfigMgr->GetOption<int32>("Wintergrasp.BattleTimer", 30);
_int_configs[CONFIG_WINTERGRASP_NOBATTLETIME] = sConfigMgr->GetOption<int32>("Wintergrasp.NoBattleTimer", 150);
_int_configs[CONFIG_WINTERGRASP_RESTART_AFTER_CRASH] = sConfigMgr->GetOption<int32>("Wintergrasp.CrashRestartTimer", 10);