diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/dungeonSolvers/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index 7dcc0aa..1d45bf3 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -170,6 +170,7 @@ class DungeonSolvers extends Feature { 7: 360, }; + this.registerStep(true, 2, this.stepNotDung).registeredWhen(() => !this.isInDungeon()); this.registerStep(true, 2, this.step).registeredWhen(() => this.isInDungeon()); this.registerStep(false, 60, this.step) this.registerStep(true, 10, this.step2).registeredWhen(() => this.isInDungeon()); @@ -556,7 +557,6 @@ class DungeonSolvers extends Feature { } onWorldLoad() { - this.inBoss = false this.goneInBonus = false; this.bloodOpenedBonus = false; this.mimicDead = false @@ -790,6 +790,10 @@ class DungeonSolvers extends Feature { } } + stepNotDung() { + this.inBoss = false + } + step() { if (this.bearSpawning && this.bearSpawning > 0) { this.spiritBearSpawnElement.setText("&dBear spawned in: &c" + (Math.max(0, this.bearSpawning - Date.now()) / 1000).toFixed(2) + "s"); |