aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-07 10:58:22 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-07 10:58:22 +0800
commit6f5936b1e2808d6bbf9776c797497129b151220a (patch)
treed340d668b7b37937c9d377ebee95179c9678ef7f
parent2e85c8dd13084bc1aefe7328e56268a67b6ed7a3 (diff)
downloadSoopyV2-6f5936b1e2808d6bbf9776c797497129b151220a.tar.gz
SoopyV2-6f5936b1e2808d6bbf9776c797497129b151220a.tar.bz2
SoopyV2-6f5936b1e2808d6bbf9776c797497129b151220a.zip
+meta
-rw-r--r--features/hud/index.js3
-rw-r--r--metadata.json4
2 files changed, 4 insertions, 3 deletions
diff --git a/features/hud/index.js b/features/hud/index.js
index daa5ecc..ce56983 100644
--- a/features/hud/index.js
+++ b/features/hud/index.js
@@ -663,7 +663,8 @@ class Hud extends Feature {
if (type === skill) {
let skillData = getLevelByXp(this.lastStatData[skill], 0, this.extendLevelCap.getValue() ? Infinity : this.skillLevelCaps[skill])
if (this.lastSkillLevel[skill] === skillData.level - 1 && (skillData.level > (this.skillLevelCaps[skill] === 50 ? 50 : 60))) {
- ChatLib.chat(`&r&3&l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬&r\n &r&b&lSKILL LEVEL UP &3${firstLetterCapital(skill.split("_").pop())} &8${skillData.level - 1}➜&3${skillData.level}&r\n&r &r&a&lREWARDS&r\n&r &r&6&lSoopy's Respect\n&r&3&l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬&r\n`)
+ //TODO: move to not relying on hud stat & seperate setting
+ // ChatLib.chat(`&r&3&l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬&r\n &r&b&lSKILL LEVEL UP &3${firstLetterCapital(skill.split("_").pop())} &8${skillData.level - 1}➜&3${skillData.level}&r\n&r &r&a&lREWARDS&r\n&r &r&6&lSoopy's Respect\n&r&3&l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬&r\n`)
}
this.lastSkillLevel[skill] = skillData.level;
string = "&6" + firstLetterCapital(skill.split("_").pop()) + "&7> &f" + (skillData.level + skillData.progress).toFixed(2) + " &7(" + this.numberUtils.numberWithCommas(skillData.xpCurrent) + (skillData.level === this.skillLevelCaps[skill] ? "" : "/" + this.numberUtils.numberWithCommas(skillData.xpForNext)) + ")"
diff --git a/metadata.json b/metadata.json
index c9d249c..089f51b 100644
--- a/metadata.json
+++ b/metadata.json
@@ -5,8 +5,8 @@
"entry": "index.js",
"description": "SoopyV2",
"name": "SoopyV2",
- "version": "2.1.114",
- "versionId": 241,
+ "version": "2.1.115",
+ "versionId": 242,
"requires": [
"soopyApis",
"soopyAddonsData",