Skip to content

Commit 79f4304

Browse files
committed
Silver skeleton buffs
Try outrunning them now!
1 parent 0ea0c25 commit 79f4304

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/main/java/drzhark/mocreatures/entity/hostile/MoCEntitySilverSkeleton.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected void initEntityAI() {
5555
@Override
5656
protected void applyEntityAttributes() {
5757
super.applyEntityAttributes();
58-
getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(25.0D);
58+
getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(35.0D);
5959
getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(14.0D);
6060
this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.25D);
6161
this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(7.0D);
@@ -118,9 +118,10 @@ public boolean attackEntityAsMob(Entity entityIn) {
118118
@Override
119119
public float getAIMoveSpeed() {
120120
if (isSprinting()) {
121-
return 0.35F;
121+
return 0.425F;
122122
}
123-
return 0.2F;
123+
124+
return 0.25F;
124125
}
125126

126127
@Override
@@ -173,11 +174,6 @@ public boolean shouldContinueExecuting() {
173174
return super.shouldContinueExecuting();
174175
}
175176
}
176-
177-
@Override
178-
protected double getAttackReachSqr(EntityLivingBase attackTarget) {
179-
return 4.0F + attackTarget.width;
180-
}
181177
}
182178

183179
static class AISkeletonTarget<T extends EntityLivingBase> extends EntityAINearestAttackableTarget<T> {

0 commit comments

Comments
 (0)