aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-07-19 20:45:02 +0200
committerGitHub <noreply@github.com>2023-07-19 20:45:02 +0200
commit6e5dce138d0c3cef5a2b79fab453aa6a712c0c7c (patch)
treec2949e239eeaa6999b41384ef078f76982c856da /src/main
parentd2816938d9cfa30c464af649123e7c3ffec3f3bb (diff)
downloadskyhanni-6e5dce138d0c3cef5a2b79fab453aa6a712c0c7c.tar.gz
skyhanni-6e5dce138d0c3cef5a2b79fab453aa6a712c0c7c.tar.bz2
skyhanni-6e5dce138d0c3cef5a2b79fab453aa6a712c0c7c.zip
Add Bacte to Damage Indicator (#326)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt5
2 files changed, 6 insertions, 0 deletions
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") {