From da201d2e2bf73bf455b970d445e011c0525abae9 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Sat, 10 Sep 2022 10:12:01 +0200 Subject: Added damage indicator for diana mobs. --- .../skyhanni/features/damageindicator/BossType.kt | 7 ++++++- .../skyhanni/features/damageindicator/MobFinder.kt | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') 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 c77738605..a2e8a83ad 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt @@ -48,7 +48,12 @@ enum class BossType(val fullName: String, val bossTypeToggle: Int, val shortName DUNGEON_F("", 16), DUNGEON_75("", 17), - DUMMY("Dummy", 18), + MINOS_INQUISITOR("§5Minos Inquisitor", 18), + MINOS_CHAMPION("§2Minos Champion", 18), + GAIA_CONSTURUCT("§2Gaia Construct", 18), + MINOTAUR("§2Minotaur", 18), + + DUMMY("Dummy", 19), //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 aa0af27b5..65c6d4e1b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt @@ -340,6 +340,22 @@ class MobFinder { } } } + if (entity is EntityOtherPlayerMP) { + if (entity.name == "Minos Inquisitor") { + return EntityResult(bossType = BossType.MINOS_INQUISITOR) + } + if (entity.name == "Minos Champion") { + return EntityResult(bossType = BossType.MINOS_CHAMPION) + } + if (entity.name == "Minotaur ") { + return EntityResult(bossType = BossType.MINOTAUR) + } + } + if (entity is EntityIronGolem) { + if (entity.baseMaxHealth % 1_500_000 == 0.0) { + return EntityResult(bossType = BossType.GAIA_CONSTURUCT) + } + } } return null -- cgit