diff options
| author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-20 14:07:00 +0800 |
|---|---|---|
| committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-20 14:07:00 +0800 |
| commit | 7237249bfb7a94bf67f81878909315611936a4de (patch) | |
| tree | d97114e1d935ac880ed558f36dba51fda180c9de /features/dungeonSolvers | |
| parent | b0d6b24e7b916ff63e1de119eecf153eda45540f (diff) | |
| download | SoopyV2-7237249bfb7a94bf67f81878909315611936a4de.tar.gz SoopyV2-7237249bfb7a94bf67f81878909315611936a4de.tar.bz2 SoopyV2-7237249bfb7a94bf67f81878909315611936a4de.zip | |
+ dungeon map fixes
+ option for border around heads
+ option for dont show map in boss
Diffstat (limited to 'features/dungeonSolvers')
| -rw-r--r-- | features/dungeonSolvers/index.js | 16 |
1 files changed, 12 insertions, 4 deletions
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!") } }) } |
