From 7237249bfb7a94bf67f81878909315611936a4de Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 20 Apr 2022 14:07:00 +0800 Subject: + dungeon map fixes + option for border around heads + option for dont show map in boss --- features/dungeonSolvers/index.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'features/dungeonSolvers') diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index bf51bc2..23e45b9 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -196,6 +196,14 @@ class DungeonSolvers extends Feature { this.firstDeathHadSpirit = false }) + this.registerChat("&r&aDungeon starts in 1 second. Get ready!&r", () => { + this.goneInBonus = false; + this.bloodOpenedBonus = false; + + this.firstDeath = false + this.firstDeathHadSpirit = false + }) + this.firstDeath = false this.firstDeathHadSpirit = false @@ -341,9 +349,9 @@ class DungeonSolvers extends Feature { if (latestProfile[1]) { this.firstDeathHadSpirit = true - ChatLib.chat(this.FeatureManager.messagePrefix + username + " has spirit pet!") + if (this.scoreCalculation.getValue()) ChatLib.chat(this.FeatureManager.messagePrefix + username + " has spirit pet!") } else { - ChatLib.chat(this.FeatureManager.messagePrefix + username + " does not have spirit pet!") + if (this.scoreCalculation.getValue()) ChatLib.chat(this.FeatureManager.messagePrefix + username + " does not have spirit pet!") } }) } else { @@ -352,9 +360,9 @@ class DungeonSolvers extends Feature { if (data.data.profiles[data2.data.stats.currentProfileId].members[uuid].pets.some(pet => pet.type === "SPIRIT" && pet.tier === "LEGENDARY")) { this.firstDeathHadSpirit = true - ChatLib.chat(this.FeatureManager.messagePrefix + username + " has spirit pet!") + if (this.scoreCalculation.getValue()) ChatLib.chat(this.FeatureManager.messagePrefix + username + " has spirit pet!") } else { - ChatLib.chat(this.FeatureManager.messagePrefix + username + " does not have spirit pet!") + if (this.scoreCalculation.getValue()) ChatLib.chat(this.FeatureManager.messagePrefix + username + " does not have spirit pet!") } }) } -- cgit