mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 22:26:22 +00:00
feat(Core/Config): Add Legacy Arena Points config option (#16940)
* feat:(Core/Config): Add legacy Arena points option * Update IWorld.h * Update World.cpp * Update World.cpp * typo * Update worldserver.conf.dist * Update worldserver.conf.dist * Update World.cpp * Update World.cpp * defaults to true Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * config text Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update src/server/apps/worldserver/worldserver.conf.dist * Update src/server/apps/worldserver/worldserver.conf.dist * Update src/server/game/World/World.cpp --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com> Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
@@ -658,7 +658,7 @@ uint32 ArenaTeam::GetPoints(uint32 memberRating)
|
||||
|
||||
if (rating <= 1500)
|
||||
{
|
||||
if (sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) < 6)
|
||||
if (sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) < 6 && sWorld->getIntConfig(CONFIG_LEGACY_ARENA_POINTS_CALC))
|
||||
points = (float)rating * 0.22f + 14.0f;
|
||||
else
|
||||
points = 344;
|
||||
|
||||
Reference in New Issue
Block a user