diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-08-23 13:58:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 13:58:21 +0200 |
commit | 99fca44331c5e45ca5795bbe75f5ad1a6bfc3372 (patch) | |
tree | 4d9142464373aa1de2874dce4ea04be86d5cfc0b /src/main | |
parent | baf26cd154c7ed6189994352f801055b50f57137 (diff) | |
download | skyhanni-99fca44331c5e45ca5795bbe75f5ad1a6bfc3372.tar.gz skyhanni-99fca44331c5e45ca5795bbe75f5ad1a6bfc3372.tar.bz2 skyhanni-99fca44331c5e45ca5795bbe75f5ad1a6bfc3372.zip |
Improvement: /warp stonks (#2399)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/event/diana/IgnoredWarpsConfig.java | 5 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt | 1 |
2 files changed, 6 insertions, 0 deletions
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 |