From a2f529e89615c81615fff1036ce1696fa20bcfb7 Mon Sep 17 00:00:00 2001 From: DarkIntaqt <61588850+DarkIntaqt@users.noreply.github.com> Date: Sun, 11 Feb 2024 22:37:52 +0100 Subject: [PATCH] adjust calculations --- src/module/Challenge.js | 2 +- src/module/user/statsCalculateTotalPoints.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/Challenge.js b/src/module/Challenge.js index 52795ff..1039a50 100644 --- a/src/module/Challenge.js +++ b/src/module/Challenge.js @@ -544,7 +544,7 @@ class Challenge extends Component { } if (challenge.icon_2 === 0) { - warnings.push(
This leaderboard is "technically" wrong, as the ranking still includes points from the seasonal 2023 challenges for some players, which should not be counted towards the total points.
See Reddit post
); + warnings.push(
This leaderboard is "technically" wrong, as the ranking still includes points from the seasonal 2023 challenges for some players, which should not be counted towards the total points.
); } // if (summoner.length === 0) { diff --git a/src/module/user/statsCalculateTotalPoints.js b/src/module/user/statsCalculateTotalPoints.js index 3a99be5..af53e9d 100644 --- a/src/module/user/statsCalculateTotalPoints.js +++ b/src/module/user/statsCalculateTotalPoints.js @@ -28,7 +28,7 @@ export default function statsCalculateTotalPoints(challenges) { tiers[intToTier(challenge[1])] += 1 } else { - console.log(challenge[6].translation.name, challenge[6].translation.description) + // console.log(challenge[0], challenge[6].state, challenge[6].translation.name, challenge[6].translation.description) } } return tiers