diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-11 17:46:22 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-11 17:46:22 +0800 |
commit | 1a23a0071a1c220d0e70c99f9d71904f0635fad0 (patch) | |
tree | 8197710e3d9e75c2f271696ae96b6488ef120404 /features/dungeonSolvers | |
parent | 4cfe8fd69d2d72df01dcc6804ab6b801e3890e73 (diff) | |
download | SoopyV2-1a23a0071a1c220d0e70c99f9d71904f0635fad0.tar.gz SoopyV2-1a23a0071a1c220d0e70c99f9d71904f0635fad0.tar.bz2 SoopyV2-1a23a0071a1c220d0e70c99f9d71904f0635fad0.zip |
+ small bugfixes
Diffstat (limited to 'features/dungeonSolvers')
-rw-r--r-- | features/dungeonSolvers/index.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index 898dbda..787f5fa 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -8,6 +8,7 @@ import HudTextElement from "../hud/HudTextElement"; import LocationSetting from "../settings/settingThings/location"; import ToggleSetting from "../settings/settingThings/toggle"; import { fetch } from "../../utils/networkUtils"; +import { delay } from "../../utils/delayUtils"; import { Waypoint } from "../../utils/renderJavaUtils"; const EntityBlaze = Java.type("net.minecraft.entity.monster.EntityBlaze"); @@ -185,8 +186,10 @@ class DungeonSolvers extends Feature { this.goneInBonus = true; }); this.registerChat("[BOSS] The Watcher: You have proven yourself. You may pass.", () => { - this.bloodOpenedBonus = false; //TODO: add 5second delay - this.goneInBonus = true; + delay(5000,()=>{ + this.bloodOpenedBonus = false; + this.goneInBonus = true; + }) }); let enteredBossMessages = ["&r&4[BOSS] Maxor&r&c: &r&cWELL WELL WELL LOOK WHO’S HERE!&r", "&r&c[BOSS] Livid&r&f: Welcome, you arrive right on time. I am Livid, the Master of Shadows.&r", "&r&c[BOSS] Thorn&r&f: Welcome Adventurers! I am Thorn, the Spirit! And host of the Vegan Trials!&r", "&r&c[BOSS] The Professor&r&f: I was burdened with terrible news recently...&r", "&r&c[BOSS] Scarf&r&f: This is where the journey ends for you, Adventurers.&r", "&r&c[BOSS] Bonzo&r&f: Gratz for making it this far, but I’m basically unbeatable.&r", "&r&c[BOSS] Sadan&r&f: So you made it all the way &r&fhere...and&r&f you wish to defy me? Sadan?!&r"] enteredBossMessages.forEach(msg => { |