From 44d5f286982bfc1640a57ae5801402bd5f26c843 Mon Sep 17 00:00:00 2001 From: Azure Date: Sun, 25 Aug 2024 17:49:19 -0400 Subject: Improvement: Make line width for 'Line to Arachne' & 'Line to Miniboss' configurable (#2406) --- .../at/hannibal2/skyhanni/config/features/combat/MobsConfig.java | 6 ++++++ .../at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java index 0d9c2f694..f51076360 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java @@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.config.features.combat; import at.hannibal2.skyhanni.config.FeatureToggle; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class MobsConfig { @@ -63,6 +64,11 @@ public class MobsConfig { @FeatureToggle public boolean lineToArachne = false; + @Expose + @ConfigOption(name = "Line to Arachne Width", desc = "The width of the line pointing to where Arachne is at.") + @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10) + public int lineToArachneWidth = 5; + @Expose @ConfigOption( name = "Area Boss Timer", diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java index 74f61be7f..fedace999 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java @@ -8,6 +8,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.Category; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class SlayerConfig { @@ -59,6 +60,11 @@ public class SlayerConfig { @FeatureToggle public boolean slayerMinibossLine = false; + @Expose + @ConfigOption(name = "Line to Miniboss Width", desc = "The width of the line pointing to every Slayer Mini-Boss around you.") + @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10) + public int slayerMinibossLineWidth = 3; + @Expose @ConfigOption(name = "Hide Mob Names", desc = "Hide the name of the mobs you need to kill in order for the Slayer boss to spawn. Exclude mobs that are damaged, corrupted, runic or semi rare.") @ConfigEditorBoolean -- cgit