aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-26 19:26:43 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-26 19:26:43 +0800
commit86c7489e9e654a6b95770822890a43dcdaa7a0c7 (patch)
tree3d45ea4f159a356f8f0a8151fb381814ff801483
parentcb05a79ce426f11f88448358eefb364ff209f1e0 (diff)
downloadSoopyV2-86c7489e9e654a6b95770822890a43dcdaa7a0c7.tar.gz
SoopyV2-86c7489e9e654a6b95770822890a43dcdaa7a0c7.tar.bz2
SoopyV2-86c7489e9e654a6b95770822890a43dcdaa7a0c7.zip
+fix fix fix
-rw-r--r--features/dungeonSolvers/index.js5
-rw-r--r--metadata.json4
2 files changed, 6 insertions, 3 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js
index 1d45bf3..88c4a54 100644
--- a/features/dungeonSolvers/index.js
+++ b/features/dungeonSolvers/index.js
@@ -44,8 +44,8 @@ class DungeonSolvers extends Feature {
Purple: "&5",
Arcade: "&e",
};
- this.onWorldLoad();
+ this.lastWorldload = Date.now()
this.lividFindEnabled = new ToggleSetting("Correct livid finder", "Finds the real livid to kill in the f5 boss fight", true, "livid_find_enabled", this);
this.lividFindHud = new ToggleSetting("Show Livid Hp", "Shows the nametag of the correct livid", true, "livid_hud_enabled", this).requires(this.lividFindEnabled);
this.lividHpElement = new HudTextElement().setToggleSetting(this.lividFindHud).setLocationSetting(new LocationSetting("Correct Livid Hp Location", "Allows you to edit the location of the correct livid hp text", "livid_hp_location", this, [10, 50, 1, 1]).requires(this.lividFindHud).editTempText("§r§e﴾ §c§lLivid§r §a7M§c❤ §e﴿§r"));
@@ -557,6 +557,7 @@ class DungeonSolvers extends Feature {
}
onWorldLoad() {
+ this.lastWorldload = Date.now()
this.goneInBonus = false;
this.bloodOpenedBonus = false;
this.mimicDead = false
@@ -791,10 +792,12 @@ class DungeonSolvers extends Feature {
}
stepNotDung() {
+ if (Date.now() - this.lastWorldload < 5000) return
this.inBoss = false
}
step() {
+ ChatLib.chat(this.inBoss)
if (this.bearSpawning && this.bearSpawning > 0) {
this.spiritBearSpawnElement.setText("&dBear spawned in: &c" + (Math.max(0, this.bearSpawning - Date.now()) / 1000).toFixed(2) + "s");
} else {
diff --git a/metadata.json b/metadata.json
index 75a31bf..74bf3ec 100644
--- a/metadata.json
+++ b/metadata.json
@@ -5,8 +5,8 @@
"entry": "index.js",
"description": "SoopyV2",
"name": "SoopyV2",
- "version": "2.1.111",
- "versionId": 238,
+ "version": "2.1.112",
+ "versionId": 239,
"requires": [
"soopyApis",
"soopyAddonsData",