Jump to content

[fix] arena points calculating for season 6


Guest raftom

Recommended Posts

it fixes a bug that teams with rating below 1500 dont gets points as if they where at 1500 rating

http://www.wowwiki.com/Season_6 here is small info

diff --git a/ArenaTeam.cpp b/ArenaTeam2.cpp
index ed4ce5b..4d413d6 100644
--- a/ArenaTeam.cpp
+++ b/ArenaTeam2.cpp
@@ -523,7 +523,10 @@ uint32 ArenaTeam::GetPoints(uint32 MemberRating)
    float points;

    uint32 rating = MemberRating + 150 < m_stats.rating ? MemberRating : m_stats.rating;
-
+    
+    if (sWorld.getConfig(CONFIG_UINT32_ARENA_SEASON_ID) >= 6 && rating <= 1500)
+        rating = 1500;
+    
    if(rating <= 1500)
        points = (float)rating * 0.22f + 14.0f;
    else

also try checking arena calculators for more info

plz test and share comments :D

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use