diff options
-rw-r--r-- | features/dungeonSolvers/index.js | 6 | ||||
-rw-r--r-- | metadata.json | 4 |
2 files changed, 7 insertions, 3 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"); diff --git a/metadata.json b/metadata.json index 2608038..75a31bf 100644 --- a/metadata.json +++ b/metadata.json @@ -5,8 +5,8 @@ "entry": "index.js", "description": "SoopyV2", "name": "SoopyV2", - "version": "2.1.110", - "versionId": 237, + "version": "2.1.111", + "versionId": 238, "requires": [ "soopyApis", "soopyAddonsData", |