Skip to content

Instantly share code, notes, and snippets.

@Jildor
Created June 14, 2011 15:13
Show Gist options
  • Save Jildor/1025103 to your computer and use it in GitHub Desktop.
Save Jildor/1025103 to your computer and use it in GitHub Desktop.
src/server/game/Battlegrounds/ArenaTeam.cpp
for (MemberList::const_iterator itr = Members.begin(); itr != Members.end(); ++itr)
{
// The player participated in enough games, update his points
uint32 pointsToAdd = 0;
if (itr->WeekGames >= requiredGames)
- pointsToAdd = GetPoints(itr->PersonalRating);
+ //pointsToAdd = GetPoints(itr->PersonalRating);
+ pointsToAdd = GetPoints(itr->PersonalRating) + Stats.WeekGames *3;
std::map<uint32, uint32>::iterator plr_itr = playerPoints.find(GUID_LOPART(itr->Guid));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment