aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLuna <me@alexia.lol>2024-04-27 13:48:32 +0200
committerGitHub <noreply@github.com>2024-04-27 13:48:32 +0200
commit2d43ec7ef96ce813e3bff658088c62fd083660e7 (patch)
tree42183cbcdae290b0c5dfbed28716e2d73482631d /src/main/java
parent5597d58047a2232274c7d2a094b5276f4a7795c6 (diff)
downloadskyhanni-2d43ec7ef96ce813e3bff658088c62fd083660e7.tar.gz
skyhanni-2d43ec7ef96ce813e3bff658088c62fd083660e7.tar.bz2
skyhanni-2d43ec7ef96ce813e3bff658088c62fd083660e7.zip
Backend: Simplify code for when you can steak Vampire Slayer boss (#1547)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/VampireSlayerFeatures.kt8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/VampireSlayerFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/VampireSlayerFeatures.kt
index df2ce10a9..6f9932c8d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/VampireSlayerFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/VampireSlayerFeatures.kt
@@ -150,13 +150,7 @@ object VampireSlayerFeatures {
}
contain
}
- val neededHealth = when (baseMaxHealth) {
- 625 -> 125f // t1
- 1100 -> 220f // t2
- 1800 -> 360f // t3
- 2400 -> 480f // t4
- else -> 600f // t5
- }
+ val neededHealth = baseMaxHealth * 0.2f
if (containUser && taggedEntityList.contains(this.entityId)) {
taggedEntityList.remove(this.entityId)
}