Skip to content

Commit

Permalink
adjust calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIntaqt committed Feb 11, 2024
1 parent 01269b2 commit a2f529e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/module/Challenge.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ class Challenge extends Component {
}

if (challenge.icon_2 === 0) {
warnings.push(<div className={css.disabledMessage} key={"c0"} style={{ lineHeight: "1rem" }}>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. <br /><a href="https://www.reddit.com/r/leagueoflegends/comments/18xmgpv/challenges_hunter_leaderboard/" target="_blank">See Reddit post</a></div>);
warnings.push(<div className={css.disabledMessage} key={"c0"} style={{ lineHeight: "1rem" }}>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. </div>);
}

// if (summoner.length === 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/module/user/statsCalculateTotalPoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2f529e

Please sign in to comment.