This commit is contained in:
Anuken 2020-09-12 23:41:25 -04:00
parent 8234f31e83
commit 4d6c8ade98
3 changed files with 3 additions and 2 deletions

View file

@ -1565,6 +1565,7 @@ public class Blocks implements ContentList{
segment = new PointDefenseTurret("segment"){{
requirements(Category.turret, with(Items.silicon, 130, Items.thorium, 80, Items.phasefabric, 40));
health = 250 * size * size;
range = 140f;
hasPower = true;
consumes.power(3f);
@ -1572,7 +1573,6 @@ public class Blocks implements ContentList{
shootLength = 5f;
bulletDamage = 25f;
reloadTime = 10f;
health = 190 * size * size;
}};
fuse = new ItemTurret("fuse"){{

View file

@ -25,6 +25,7 @@ public class ShrapnelBulletType extends BulletType{
despawnEffect = Fx.none;
pierce = true;
keepVelocity = false;
hittable = false;
}
@Override

View file

@ -612,7 +612,7 @@ public class UnitType extends UnlockableContent{
float e = unit.elevation;
float sin = Mathf.lerp(Mathf.sin(walkExtend(mech, true), 2f / Mathf.PI, 1f), 0f, e);
float extension = walkExtend(mech, false);
float extension = Mathf.lerp(walkExtend(mech, false), 0, e);
float boostTrns = e * 2f;
Floor floor = unit.isFlying() ? Blocks.air.asFloor() : unit.floorOn();