Skip to content

Commit

Permalink
Adjust boss health
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarussOne committed Jan 12, 2025
1 parent 493e6d6 commit 92925ea
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class EntityTFHydra extends EntityLiving implements IEntityMultiPart, IMo
private static final int HEAD_RESPAWN_TICKS = 50;
private static final int HEAD_MAX_DAMAGE = 100;
private static final float ARMOR_MULTIPLIER = 8.0F;
private static final int MAX_HEALTH = 360;
private static final int MAX_HEALTH = 450;

private static final int SECONDARY_FLAME_CHANCE = 50;
private static final int SECONDARY_MORTAR_CHANCE = 50;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected void initEntityAI() {
@Override
protected void applyEntityAttributes() {
super.applyEntityAttributes();
getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(35.0D);
getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(60.0D);
getAttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE);
getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(1.0D);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void setGroundAttackCharge(boolean flag) {
@Override
protected void applyEntityAttributes() {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(180.0D);
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(400.0D);
this.getEntityAttribute(SharedMonsterAttributes.KNOCKBACK_RESISTANCE).setBaseValue(1.0D);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/twilightforest/entity/boss/EntityTFNaga.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public void onLivingUpdate() {
@Override
protected void applyEntityAttributes() {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(350.0D);
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(300.0D);
this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(DEFAULT_SPEED);
this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(5.0D);
this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(80.0D);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected void applyEntityAttributes() {
this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.23D);
this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(7.0D);
this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(40.0D);
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(200.0D);
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(450.0D);
this.getEntityAttribute(SharedMonsterAttributes.KNOCKBACK_RESISTANCE).setBaseValue(0.75D);
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class EntityTFUrGhast extends EntityTFTowerGhast {
private List<BlockPos> trapLocations;
private int nextTantrumCry;

private float damageUntilNextPhase = 10; // how much damage can we take before we toggle tantrum mode
private float damageUntilNextPhase = 20; // how much damage can we take before we toggle tantrum mode
private boolean noTrapMode; // are there no traps nearby? just float around
private final BossInfoServer bossInfo = new BossInfoServer(getDisplayName(), BossInfo.Color.RED, BossInfo.Overlay.PROGRESS);

Expand All @@ -74,7 +74,7 @@ public void setCustomNameTag(String name) {
@Override
protected void applyEntityAttributes() {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(250);
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(400.0D);
this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(128.0D);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected void entityInit() {
@Override
protected void applyEntityAttributes() {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(200.0D);
this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(300.0D);
this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.38D);
this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(1.0D);
this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(40.0D);
Expand Down

0 comments on commit 92925ea

Please sign in to comment.