summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-10-03 02:42:31 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-10-03 02:42:31 +0200
commit80dcffa8edcf13740a7b174f04a3f98a94311e49 (patch)
treeac93bf019b4d85256329ff93370ac430520aee58 /src/main/java/at/hannibal2/skyhanni/features/event
parent2f54732951a7d9b3a64b38f11a39a9e00b6aa02f (diff)
downloadskyhanni-80dcffa8edcf13740a7b174f04a3f98a94311e49.tar.gz
skyhanni-80dcffa8edcf13740a7b174f04a3f98a94311e49.tar.bz2
skyhanni-80dcffa8edcf13740a7b174f04a3f98a94311e49.zip
diana features fixes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt8
2 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt
index 6c284f255..9cb8210c1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt
@@ -24,8 +24,6 @@ class GriffinBurrowHelper {
@SubscribeEvent
fun onSoopyGuessBurrow(event: SoopyGuessBurrowEvent) {
-// if (!SkyHanniMod.feature.diana.burrowsSoopyGuess) return
-
if (SkyHanniMod.feature.diana.burrowsSoopyGuess) {
if (guessLocation == null) {
animationLocation = lastDug ?: LocationUtils.playerLocation()
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt
index 467cc9f81..177f16db2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt
@@ -158,14 +158,6 @@ class SoopyGuessBurrow {
atan((a.x - b.x) / (a.z - b.z))
}
-// val slopeThing = mutableListOf<Double>()
-// for ((index, current) in locs.withIndex()) {
-// if (index != 0) {
-// val last = locs[index - 1]
-// slopeThing.add(atan((current.x - last.x) / (current.z - last.z)))
-// }
-// }
-
val (a, b, c) = solveEquationThing(
LorenzVec(slopeThing.size - 5, slopeThing.size - 3, slopeThing.size - 1), LorenzVec(
slopeThing[slopeThing.size - 5],