From 249100e73ab72fe81e756d39748a2189950ef2a5 Mon Sep 17 00:00:00 2001 From: gustuxd Date: Sun, 7 Jul 2024 22:59:09 -0300 Subject: [PATCH] fix: fixing skills progress bar rounding --- src/pages/skills.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/skills.tsx b/src/pages/skills.tsx index b491dd8b..9740a3a2 100644 --- a/src/pages/skills.tsx +++ b/src/pages/skills.tsx @@ -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,