diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2023-07-19 20:45:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 20:45:02 +0200 |
commit | 6e5dce138d0c3cef5a2b79fab453aa6a712c0c7c (patch) | |
tree | c2949e239eeaa6999b41384ef078f76982c856da /src/main | |
parent | d2816938d9cfa30c464af649123e7c3ffec3f3bb (diff) | |
download | skyhanni-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.kt | 1 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt | 5 |
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") { |