Skip to content

Commit

Permalink
Silver skeleton buffs
Browse files Browse the repository at this point in the history
Try outrunning them now!
  • Loading branch information
IcarussOne committed Jan 26, 2025
1 parent 0ea0c25 commit 79f4304
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void initEntityAI() {
@Override
protected void applyEntityAttributes() {
super.applyEntityAttributes();
getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(25.0D);
getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(35.0D);
getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(14.0D);
this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.25D);
this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(7.0D);
Expand Down Expand Up @@ -118,9 +118,10 @@ public boolean attackEntityAsMob(Entity entityIn) {
@Override
public float getAIMoveSpeed() {
if (isSprinting()) {
return 0.35F;
return 0.425F;
}
return 0.2F;

return 0.25F;
}

@Override
Expand Down Expand Up @@ -173,11 +174,6 @@ public boolean shouldContinueExecuting() {
return super.shouldContinueExecuting();
}
}

@Override
protected double getAttackReachSqr(EntityLivingBase attackTarget) {
return 4.0F + attackTarget.width;
}
}

static class AISkeletonTarget<T extends EntityLivingBase> extends EntityAINearestAttackableTarget<T> {
Expand Down

0 comments on commit 79f4304

Please sign in to comment.