From 6e5dce138d0c3cef5a2b79fab453aa6a712c0c7c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Wed, 19 Jul 2023 20:45:02 +0200 Subject: Add Bacte to Damage Indicator (#326) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt | 1 + .../java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt index 41f01bf63..4755d7dd1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt @@ -81,6 +81,7 @@ enum class BossType(val fullName: String, val bossTypeToggle: Int, val shortName // The Rift LEECH_SUPREME("§cLeech Supreme", 22), + BACTE("§aBacte", 22), //TODO arachne diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt index 57be6beeb..1cf80af5d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt @@ -214,6 +214,11 @@ class MobFinder { } } } + if (entity is EntitySlime) { + if (entity.baseMaxHealth == 1_000) { + return EntityResult(bossType = BossType.BACTE) + } + } } else { if (entity is EntityBlaze) { if (entity.name != "Dinnerbone") { -- cgit