diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-15 16:36:38 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-15 16:36:38 +0800 |
commit | bfdf6ed866aa89f59ebd3c438907975029e4ed8e (patch) | |
tree | b411973fb2a4e1cbf59bdb6b5f3571557a513f80 /features/hud | |
parent | 7b8088b0e901dd677972ae1cadc6447343c1e7d5 (diff) | |
download | SoopyV2-bfdf6ed866aa89f59ebd3c438907975029e4ed8e.tar.gz SoopyV2-bfdf6ed866aa89f59ebd3c438907975029e4ed8e.tar.bz2 SoopyV2-bfdf6ed866aa89f59ebd3c438907975029e4ed8e.zip |
dungeon map improvements + allow searching guilds in senither gui
Diffstat (limited to 'features/hud')
-rw-r--r-- | features/hud/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/features/hud/index.js b/features/hud/index.js index c600153..777783e 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -101,6 +101,8 @@ class Hud extends Feature { this.witherImpactCooldownSetting = new ToggleSetting("Show Wither Impact Cooldown", "This will render a small cooldown above your crosshair", true, "wither_impact_cooldown_enabled", this) + this.guidedSheepCooldownSetting = new ToggleSetting("Show Guided Sheep / Explosive Shot Cooldown", "This will render a small cooldown below your crosshair", true, "guided_sheep_cooldown_enabled", this) + // this.showDragonDamages = new ToggleSetting("Show dragon damages", "This will render the top 3 damages + your damage during a dragon fight", true, "dragon_dmg_enable", this).requires(this.soulflowEnabledSetting) // this.dragonDamageElement = new HudTextElement() // .setToggleSetting(this.showDragonDamages) @@ -200,6 +202,7 @@ class Hud extends Feature { if (this.witherImpactCooldownSetting.getValue() && Date.now()-this.lastWitherImpact < 10000) { Renderer.drawString(Math.max(0,Math.ceil((5000-(Date.now()-this.lastWitherImpact))/1000)) + "s", Renderer.screen.getWidth() / 2 - Renderer.getStringWidth(Math.max(0,Math.ceil((5000-(Date.now()-this.lastWitherImpact))/1000)) + "s") / 2, Renderer.screen.getHeight() / 2 - 15) } + } renderWorld(){ |