Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (*itr_team[i])->JoinTime > 120000 && ((arenaMaxRating - 150) == arenaRating)
- {
- arenaMaxRating += sBattlegroundMgr.GetMaxRatingDifference();
- arenaMinRating = (arenaMinRating <= sBattlegroundMgr.GetMaxRatingDifference()) ? 0 : arenaMinRating - sBattlegroundMgr.GetMaxRatingDifference();
- // if group match conditions, then add it to pool
- if (!(*itr_team[i])->IsInvitedToBGInstanceGUID
- && (((*itr_team[i])->ArenaMatchmakerRating >= arenaMinRating && (*itr_team[i])->ArenaMatchmakerRating <= arenaMaxRating)
- || (*itr_team[i])->JoinTime < discardTime))
- {
- m_SelectionPools[i].AddGroup((*itr_team[i]), MaxPlayersPerTeam);
- // break for cycle to be able to start selecting another group from same faction queue
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement