aboutsummaryrefslogtreecommitdiff
path: root/features/hud
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-03-01 21:25:13 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-03-01 21:25:13 +0800
commitc71b4f83abb2697781f8e6eafa8ad35f924fbdf7 (patch)
tree7e992f047e1b19864cea8cee1671573a44cf20de /features/hud
parent556eedeb7d58909cb716abe16d2c40910acdc43c (diff)
downloadSoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.gz
SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.bz2
SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.zip
many changes (will list in a bit)
Diffstat (limited to 'features/hud')
-rw-r--r--features/hud/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/hud/index.js b/features/hud/index.js
index 9f83449..8bdab52 100644
--- a/features/hud/index.js
+++ b/features/hud/index.js
@@ -564,7 +564,7 @@ class Hud extends Feature {
}
if(type === "cata"){
let cataData = getLevelByXp(this.lastStatData.dungeons.dungeon_types.catacombs.experience, 2, 50)
- string = "&6Cata&7> &f" + (cataData.level+cataData.progress).toFixed(2) + " &7(" + this.numberUtils.numberWithCommas(cataData.xpCurrent) + (cataData.level===50?"":"/" + this.numberUtils.numberWithCommas(cataData.xpForNext)) + ")"
+ string = "&6Cata&7> &f" + (~~((cataData.level+cataData.progress)*100)/100).toFixed(2) + " &7(" + this.numberUtils.numberWithCommas(cataData.xpCurrent) + (cataData.level===50?"":"/" + this.numberUtils.numberWithCommas(cataData.xpForNext)) + ")"
}
Object.keys(this.skillLevelCaps).forEach(skill => {