From 99fca44331c5e45ca5795bbe75f5ad1a6bfc3372 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Fri, 23 Aug 2024 13:58:21 +0200 Subject: Improvement: /warp stonks (#2399) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/config/features/event/diana/IgnoredWarpsConfig.java | 5 +++++ .../at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt | 1 + 2 files changed, 6 insertions(+) diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/IgnoredWarpsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/IgnoredWarpsConfig.java index 8b6edcb9a..f33820772 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/IgnoredWarpsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/IgnoredWarpsConfig.java @@ -16,4 +16,9 @@ public class IgnoredWarpsConfig { @ConfigEditorBoolean public boolean wizard = false; + @Expose + @ConfigOption(name = "Stonks", desc = "Ignore the Stonks warp point (because it is new).") + @ConfigEditorBoolean + public boolean stonks = false; + } diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt index bf362d918..34dab01e6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt @@ -137,6 +137,7 @@ object BurrowWarpHelper { DA("Dark Auction", LorenzVec(91, 74, 173), 2), MUSEUM("Museum", LorenzVec(-75, 76, 81), 2), WIZARD("Wizard", LorenzVec(42.5, 122.0, 69.0), 5, { config.ignoredWarps.wizard }), + STONKS("Stonks", LorenzVec(-52.5, 70.0, -49.5), 5, { config.ignoredWarps.stonks }), ; fun distance(other: LorenzVec): Double = other.distance(location) + extraBlocks -- cgit