mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
[11039] As of Season 6 and later, all teams below 1500 rating will earn points as if they were a 1500 rated team
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
3293a4c3f5
commit
f2e78cdded
2 changed files with 8 additions and 2 deletions
|
|
@ -547,8 +547,14 @@ uint32 ArenaTeam::GetPoints(uint32 MemberRating)
|
|||
|
||||
uint32 rating = MemberRating + 150 < m_stats.rating ? MemberRating : m_stats.rating;
|
||||
|
||||
if(rating <= 1500)
|
||||
if (rating <= 1500)
|
||||
{
|
||||
// As of Season 6 and later, all teams below 1500 rating will earn points as if they were a 1500 rated team
|
||||
if (sWorld.getConfig(CONFIG_UINT32_ARENA_SEASON_ID) >= 6)
|
||||
rating = 1500;
|
||||
|
||||
points = (float)rating * 0.22f + 14.0f;
|
||||
}
|
||||
else
|
||||
points = 1511.26f / (1.0f + 1639.28f * exp(-0.00412f * (float)rating));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue