Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. if (*itr_team[i])->JoinTime > 120000 && ((arenaMaxRating - 150) == arenaRating)
  2. {
  3. arenaMaxRating += sBattlegroundMgr.GetMaxRatingDifference();
  4. arenaMinRating = (arenaMinRating <= sBattlegroundMgr.GetMaxRatingDifference()) ? 0 : arenaMinRating - sBattlegroundMgr.GetMaxRatingDifference();
  5.  
  6. // if group match conditions, then add it to pool
  7. if (!(*itr_team[i])->IsInvitedToBGInstanceGUID
  8. && (((*itr_team[i])->ArenaMatchmakerRating >= arenaMinRating && (*itr_team[i])->ArenaMatchmakerRating <= arenaMaxRating)
  9. || (*itr_team[i])->JoinTime < discardTime))
  10. {
  11. m_SelectionPools[i].AddGroup((*itr_team[i]), MaxPlayersPerTeam);
  12. // break for cycle to be able to start selecting another group from same faction queue
  13. break;
  14. }
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement