fix(Core/Arena): Fix LegacyArenaPoints logic (#16967)

This commit is contained in:
Skjalf
2023-08-09 09:32:32 -03:00
committed by GitHub
parent 30782ecca8
commit 808b8bf07a

View File

@@ -658,7 +658,7 @@ uint32 ArenaTeam::GetPoints(uint32 memberRating)
if (rating <= 1500)
{
if (sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) < 6 && sWorld->getIntConfig(CONFIG_LEGACY_ARENA_POINTS_CALC))
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;