diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-26 18:34:59 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-26 18:34:59 +0800 |
commit | cb05a79ce426f11f88448358eefb364ff209f1e0 (patch) | |
tree | f30fc6628318d73066cae35da5e5e375aa9fad07 | |
parent | bd0f8e8c2496d52c74d8d931fcebf41c043dc63c (diff) | |
download | SoopyV2-cb05a79ce426f11f88448358eefb364ff209f1e0.tar.gz SoopyV2-cb05a79ce426f11f88448358eefb364ff209f1e0.tar.bz2 SoopyV2-cb05a79ce426f11f88448358eefb364ff209f1e0.zip |
+fix fix
-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", |