diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-10 10:12:01 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-10 10:12:01 +0200 |
commit | da201d2e2bf73bf455b970d445e011c0525abae9 (patch) | |
tree | 8925d8eb8ddbbf9427d15879ece4d44452e9c070 /src/main/java/at/hannibal2/skyhanni/features | |
parent | 4eea94b0459760053819ddae136e7db109aea464 (diff) | |
download | skyhanni-da201d2e2bf73bf455b970d445e011c0525abae9.tar.gz skyhanni-da201d2e2bf73bf455b970d445e011c0525abae9.tar.bz2 skyhanni-da201d2e2bf73bf455b970d445e011c0525abae9.zip |
Added damage indicator for diana mobs.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt | 7 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt | 16 |
2 files changed, 22 insertions, 1 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 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 |