From 2d43ec7ef96ce813e3bff658088c62fd083660e7 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 27 Apr 2024 13:48:32 +0200 Subject: Backend: Simplify code for when you can steak Vampire Slayer boss (#1547) --- .../hannibal2/skyhanni/features/slayer/VampireSlayerFeatures.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') 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) } -- cgit