diff options
author | HiZe_ <superhize@hotmail.com> | 2023-07-24 15:06:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 15:06:27 +0200 |
commit | 48449acc17694d99c84db001ecb9215a901666a5 (patch) | |
tree | 2d2dd917e0852cc882ac4c3e493e85bd2d321161 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 402e10596224a123dba780ab6ccaca36d80beb91 (diff) | |
download | skyhanni-48449acc17694d99c84db001ecb9215a901666a5.tar.gz skyhanni-48449acc17694d99c84db001ecb9215a901666a5.tar.bz2 skyhanni-48449acc17694d99c84db001ecb9215a901666a5.zip |
Slayer boss warning (#320)
Co-authored-by: superhize <superhize@gmail.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java index 4efa9feb4..d2b4cc61d 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java @@ -403,6 +403,29 @@ public class SlayerConfig { } @Expose + @ConfigOption(name = "Boss spawn warning", desc = "") + @Accordion + public SlayerBossWarning slayerBossWarning = new SlayerBossWarning(); + + public static class SlayerBossWarning { + + @Expose + @ConfigOption(name = "Enabled", desc = "Send a title when your boss is about to spawn.") + @ConfigEditorBoolean + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Percent", desc = "The percent at which the title and sound should be sent.") + @ConfigEditorSlider(minStep = 1, minValue = 50, maxValue = 90) + public int percent = 80; + + @Expose + @ConfigOption(name = "Repeat", desc = "Resend the title and sound on every kill after reaching the configured percent value.") + @ConfigEditorBoolean + public boolean repeat = false; + } + + @Expose @ConfigOption(name = "Broken Wither Impact", desc = "Warns when right-clicking with a Wither Impact weapon (e.g. Hyperion) no longer gains combat exp. " + "Kill a mob with melee-hits to fix this hypixel bug. §cOnly works while doing slayers!" |