diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-23 13:49:19 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-23 13:49:19 +0200 |
commit | 26c2daac604ee2dacae087cf7bdb04d9e07795ca (patch) | |
tree | dddb7ed849f1290d4e22e1ddddacff1081f16163 /src/main/java/at/hannibal2/skyhanni/features/mobs | |
parent | 5eaf1240df7e0674a28afcd04694202c029d7665 (diff) | |
download | skyhanni-26c2daac604ee2dacae087cf7bdb04d9e07795ca.tar.gz skyhanni-26c2daac604ee2dacae087cf7bdb04d9e07795ca.tar.bz2 skyhanni-26c2daac604ee2dacae087cf7bdb04d9e07795ca.zip |
Added runic support for Zealots/Bruiser.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/mobs')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mobs/MobHighlight.kt | 4 |
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 } |