From cb05a79ce426f11f88448358eefb364ff209f1e0 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 26 Jun 2022 18:34:59 +0800 Subject: +fix fix --- features/dungeonSolvers/index.js | 6 +++++- 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", -- cgit