From 26c2daac604ee2dacae087cf7bdb04d9e07795ca Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 23 Aug 2023 13:49:19 +0200 Subject: Added runic support for Zealots/Bruiser. --- src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java') 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 } -- cgit