starting from season 6, new arena team members should get the team rating as a starting personal rating, with a maximum of 1000

--HG--
branch : trunk
This commit is contained in:
Rat
2010-05-04 12:46:53 +02:00
parent 3516be7cf9
commit 7d93b99c1f
+2 -2
View File
@@ -149,8 +149,8 @@ bool ArenaTeam::AddMember(const uint64& PlayerGuid)
newmember.personal_rating = sWorld.getConfig(CONFIG_ARENA_START_PERSONAL_RATING); newmember.personal_rating = sWorld.getConfig(CONFIG_ARENA_START_PERSONAL_RATING);
else if (sWorld.getConfig(CONFIG_ARENA_SEASON_ID) >= 6) else if (sWorld.getConfig(CONFIG_ARENA_SEASON_ID) >= 6)
{ {
if (m_stats.rating < 1000) if (GetRating() < 1000)
newmember.personal_rating = 0; newmember.personal_rating = GetRating();
else else
newmember.personal_rating = 1000; newmember.personal_rating = 1000;
} }