aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-21 21:44:01 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-21 21:44:01 +0100
commitc4501f399987f3e1c32fbafc4c46a74a1b53db76 (patch)
tree6f18bbb58c0f6a399fc7549d40f0fb60e1bd62aa /src
parent0e0cfa64115c1bd05cbc09c1d354a95972cb9743 (diff)
downloadskyhanni-c4501f399987f3e1c32fbafc4c46a74a1b53db76.tar.gz
skyhanni-c4501f399987f3e1c32fbafc4c46a74a1b53db76.tar.bz2
skyhanni-c4501f399987f3e1c32fbafc4c46a74a1b53db76.zip
Fixed M3 reinforced guardian not getting detected in Damage Indicator.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/MobFinder.kt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/MobFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/MobFinder.kt
index 7a5407581..30f5ca32e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/MobFinder.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/MobFinder.kt
@@ -619,15 +619,19 @@ class MobFinder {
guardians.clear()
for (entity in EntityUtils.getEntities<EntityGuardian>()) {
- //F3
+ // F3
if (entity.hasMaxHealth(1_000_000, true) || entity.hasMaxHealth(1_200_000, true)) {
guardians.add(entity)
}
- //M3
+ // M3
if (entity.hasMaxHealth(120_000_000, true) || entity.hasMaxHealth(240_000_000, true)) {
guardians.add(entity)
}
+ // M3 Reinforced Guardian
+ if (entity.hasMaxHealth(140_000_000, true) || entity.hasMaxHealth(280_000_000, true)) {
+ guardians.add(entity)
+ }
}
}