aboutsummaryrefslogtreecommitdiff
path: root/features/dungeonSolvers
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 /features/dungeonSolvers
parentcb05a79ce426f11f88448358eefb364ff209f1e0 (diff)
downloadSoopyV2-86c7489e9e654a6b95770822890a43dcdaa7a0c7.tar.gz
SoopyV2-86c7489e9e654a6b95770822890a43dcdaa7a0c7.tar.bz2
SoopyV2-86c7489e9e654a6b95770822890a43dcdaa7a0c7.zip
+fix fix fix
Diffstat (limited to 'features/dungeonSolvers')
-rw-r--r--features/dungeonSolvers/index.js5
1 files changed, 4 insertions, 1 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 {