aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/mobs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/mobs')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt b/src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt
index fcfedc5ca..a50479f6b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt
@@ -56,7 +56,9 @@ class MobHighlight {
}
if (config.zealotBruiserHighlighter) {
- if ((maxHealth == 65_000 || maxHealth == 13_000) && entity is EntityEnderman) {
+ val isZealot = maxHealth == 13_000 || maxHealth == 13_000 * 3 // runic
+ val isBruiser = maxHealth == 65_000 || maxHealth == 65_000 * 3 // runic
+ if ((isZealot || isBruiser) && entity is EntityEnderman) {
RenderLivingEntityHelper.setEntityColor(entity, LorenzColor.DARK_AQUA.toColor().withAlpha(127))
{ config.zealotBruiserHighlighter }
RenderLivingEntityHelper.setNoHurtTime(entity) { config.zealotBruiserHighlighter }