Skip to content

Commit

Permalink
Adjust boss armor
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarussOne committed Jan 13, 2025
1 parent 68ee764 commit b895da0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/twilightforest/entity/boss/EntityTFLich.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/main/java/twilightforest/entity/boss/EntityTFNaga.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/twilightforest/entity/boss/EntityTFUrGhast.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b895da0

Please sign in to comment.