aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-23 13:49:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-23 13:49:19 +0200
commit26c2daac604ee2dacae087cf7bdb04d9e07795ca (patch)
treedddb7ed849f1290d4e22e1ddddacff1081f16163 /src/main/java/at/hannibal2
parent5eaf1240df7e0674a28afcd04694202c029d7665 (diff)
downloadskyhanni-26c2daac604ee2dacae087cf7bdb04d9e07795ca.tar.gz
skyhanni-26c2daac604ee2dacae087cf7bdb04d9e07795ca.tar.bz2
skyhanni-26c2daac604ee2dacae087cf7bdb04d9e07795ca.zip
Added runic support for Zealots/Bruiser.
Diffstat (limited to 'src/main/java/at/hannibal2')
-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 }