From b895da00988419599996f5c41bd90d76ca6be641 Mon Sep 17 00:00:00 2001 From: Me <135455255+IcarussOne@users.noreply.github.com> Date: Mon, 13 Jan 2025 03:10:45 -0600 Subject: [PATCH] Adjust boss armor --- src/main/java/twilightforest/entity/boss/EntityTFHydra.java | 1 + src/main/java/twilightforest/entity/boss/EntityTFLich.java | 3 ++- .../java/twilightforest/entity/boss/EntityTFMinoshroom.java | 1 + src/main/java/twilightforest/entity/boss/EntityTFNaga.java | 1 + .../java/twilightforest/entity/boss/EntityTFSnowQueen.java | 1 + src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java | 2 ++ .../java/twilightforest/entity/boss/EntityTFYetiAlpha.java | 1 + 7 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/twilightforest/entity/boss/EntityTFHydra.java b/src/main/java/twilightforest/entity/boss/EntityTFHydra.java index cea750dd23..93b5bcdf1e 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFHydra.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFHydra.java @@ -105,6 +105,7 @@ protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(MAX_HEALTH); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.28D); + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(12.0D); } @Override diff --git a/src/main/java/twilightforest/entity/boss/EntityTFLich.java b/src/main/java/twilightforest/entity/boss/EntityTFLich.java index eb3fec84dc..f6c6f0f7b9 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFLich.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFLich.java @@ -61,7 +61,7 @@ public class EntityTFLich extends EntityMob { public static final int INITIAL_SHIELD_STRENGTH = 6; public static final int MAX_ACTIVE_MINIONS = 3; public static final int INITIAL_MINIONS_TO_SUMMON = 9; - public static final int MAX_HEALTH = 100; + public static final int MAX_HEALTH = 350; private EntityTFLich masterLich; private int attackCooldown; @@ -152,6 +152,7 @@ protected void applyEntityAttributes() { this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(MAX_HEALTH); this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(6.0D); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.45000001788139344D); // Same speed as an angry enderman + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(7.0D); } @Override diff --git a/src/main/java/twilightforest/entity/boss/EntityTFMinoshroom.java b/src/main/java/twilightforest/entity/boss/EntityTFMinoshroom.java index ce66ad6f4b..f706e0def2 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFMinoshroom.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFMinoshroom.java @@ -74,6 +74,7 @@ protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(400.0D); this.getEntityAttribute(SharedMonsterAttributes.KNOCKBACK_RESISTANCE).setBaseValue(1.0D); + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(8.0D); } @Override diff --git a/src/main/java/twilightforest/entity/boss/EntityTFNaga.java b/src/main/java/twilightforest/entity/boss/EntityTFNaga.java index 42836812f7..0a545bee87 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFNaga.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFNaga.java @@ -424,6 +424,7 @@ protected void applyEntityAttributes() { this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(DEFAULT_SPEED); this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(5.0D); this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(80.0D); + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(6.0D); } /** diff --git a/src/main/java/twilightforest/entity/boss/EntityTFSnowQueen.java b/src/main/java/twilightforest/entity/boss/EntityTFSnowQueen.java index 36249a2e7b..e68974207f 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFSnowQueen.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFSnowQueen.java @@ -116,6 +116,7 @@ protected void applyEntityAttributes() { this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(40.0D); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(450.0D); this.getEntityAttribute(SharedMonsterAttributes.KNOCKBACK_RESISTANCE).setBaseValue(0.75D); + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(10.0D); } @Override diff --git a/src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java b/src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java index 2410077027..864738d5ef 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java @@ -76,6 +76,7 @@ protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(400.0D); this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(128.0D); + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(12.0D); } @Override @@ -395,6 +396,7 @@ protected void updateAITasks() { // cry? if (--this.nextTantrumCry <= 0) { this.playSound(getHurtSound(null), this.getSoundVolume(), this.getSoundPitch()); + this.livingSoundTime = -this.getTalkInterval(); this.nextTantrumCry = 20 + rand.nextInt(30); } diff --git a/src/main/java/twilightforest/entity/boss/EntityTFYetiAlpha.java b/src/main/java/twilightforest/entity/boss/EntityTFYetiAlpha.java index 6a0212e567..274f4a7d4a 100644 --- a/src/main/java/twilightforest/entity/boss/EntityTFYetiAlpha.java +++ b/src/main/java/twilightforest/entity/boss/EntityTFYetiAlpha.java @@ -129,6 +129,7 @@ protected void applyEntityAttributes() { this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(1.0D); this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(40.0D); this.getEntityAttribute(SharedMonsterAttributes.KNOCKBACK_RESISTANCE).setBaseValue(1.0D); + this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(6.0D); } @Override