mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[9194] Implement default min player per team at BG same as max players.
This let use now default requirement for not set in `battleground_template` min/max values (or =0) In other cases just set expected data into template table.
This commit is contained in:
parent
0a1dd54b7f
commit
ccbf14d4ac
2 changed files with 2 additions and 2 deletions
|
|
@ -1688,7 +1688,7 @@ void BattleGroundMgr::CreateInitialBattleGrounds()
|
|||
if (MaxPlayersPerTeam == 0 || MinPlayersPerTeam == 0 || MinPlayersPerTeam > MaxPlayersPerTeam)
|
||||
{
|
||||
MaxPlayersPerTeam = bl->maxplayersperteam;
|
||||
MinPlayersPerTeam = bl->maxplayersperteam / 2;
|
||||
MinPlayersPerTeam = bl->maxplayersperteam; // by default now expected strong full bg requirement
|
||||
}
|
||||
if (MinLvl == 0 || MaxLvl == 0 || MinLvl > MaxLvl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue