Skip to content

Commit

Permalink
Merge pull request #117 from gustuxd/main
Browse files Browse the repository at this point in the history
Rounding skills progress bar
  • Loading branch information
clxmente authored Jul 8, 2024
2 parents 72ba2f1 + 249100e commit 5060b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/skills.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function SkillsMasteryPowers() {
percentage:
currentLevel >= 10
? 100
: (currentExperience / nextLevelExperience) * 100,
: Math.floor((currentExperience / nextLevelExperience) * 100),
experiencePointsRemaining: Math.max(
nextLevelExperience - currentExperience,
0,
Expand Down

0 comments on commit 5060b31

Please sign in to comment.