diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-09 20:40:25 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-09 20:40:25 +0800 |
commit | 4acbd7b109bb22b07a0f13502a3173cb9e8bf63d (patch) | |
tree | 1d96370a6826322363f622391b00bf3e9f5344b1 | |
parent | 59e604f3c5811f16ff6cba34d5376b500b6b6ba0 (diff) | |
parent | 9942a5e8d326be2384767393be970f4f1113e5f7 (diff) | |
download | SoopyV2-4acbd7b109bb22b07a0f13502a3173cb9e8bf63d.tar.gz SoopyV2-4acbd7b109bb22b07a0f13502a3173cb9e8bf63d.tar.bz2 SoopyV2-4acbd7b109bb22b07a0f13502a3173cb9e8bf63d.zip |
Merge branch 'master' of https://github.com/Soopyboo32/SoopyV2
-rw-r--r-- | features/slayers/index.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index e9c9cb2..bfcab1d 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -75,11 +75,8 @@ class Slayers extends Feature { this.summonHPElement = new HudTextElement() .setText("") .setToggleSetting(this.summonHPGuiElement) - .setLocationSetting(new LocationSetting("Summon HP Location", "Allows you to edit the location of your summons' HP info", "summon_hp_location", this, [10, 50, 1, 1]).requires(this.summonsShowNametag).editTempText("&a160k&c❤ &a160k&c❤ &a160k&c❤ &a160k&c❤").contributor("EmeraldMerchant")); + .setLocationSetting(new LocationSetting("Summon HP Location", "Allows you to edit the location of your summons' HP info", "summon_hp_location", this, [10, 50, 1, 1]).requires(this.summonHPGuiElement).editTempText("&a160k&c❤ &a160k&c❤ &a160k&c❤ &a160k&c❤").contributor("EmeraldMerchant")); this.hudElements.push(this.summonHPElement); - this.summonsLowWarning = new ToggleSetting("Warns you when a summon is low", "this warns you after a delay after each bosses, until you respawn them", false, "warn_when_summon_low", this).requires(this.summonFeatureMaster).contributor("EmeraldMerchant"); - this.warnDelay = new TextSetting("Delay for warning", "How long should it wait after the boss to warn you a summon is low", "3", "summon_warn_delay", this, "(seconds)", false).requires(this.summonsLowWarning).contributor("EmeraldMerchant"); - this.summonPercentage = new TextSetting("When will it start warning you", "Below how many % hp (your summons) should it start warning you", "30", "summon_warn_percentage", this, "(%)", false).requires(this.summonsLowWarning).contributor("EmeraldMerchant"); this.maxSummons = new TextSetting("Maximum amount of your summons", "How many summons you are using", "", "max_summons", this, "Max Summons (1-8)", false).requires(this.summonFeatureMaster).contributor("EmeraldMerchant"); this.emanLazerTimer = new ToggleSetting("Adds a timer for the boss lazer phase", "The timer will be inside the boss's body during the phase", true, "eman_lazer_timer", this); @@ -569,7 +566,7 @@ class Slayers extends Feature { } }) this.summonEntity = this.summonEntity?.filter((e) => !e.getEntity()[f.isDead]); - if (this.summonsShowNametag.getValue()) { + if (this.summonHPGuiElement.getValue()) { this.summonHPElement.setText(summonHpFloatText) } this.minibossEntity.forEach((eArray) => { |