Bugfixes
This commit is contained in:
@@ -1565,6 +1565,7 @@ public class Blocks implements ContentList{
|
|||||||
segment = new PointDefenseTurret("segment"){{
|
segment = new PointDefenseTurret("segment"){{
|
||||||
requirements(Category.turret, with(Items.silicon, 130, Items.thorium, 80, Items.phasefabric, 40));
|
requirements(Category.turret, with(Items.silicon, 130, Items.thorium, 80, Items.phasefabric, 40));
|
||||||
|
|
||||||
|
health = 250 * size * size;
|
||||||
range = 140f;
|
range = 140f;
|
||||||
hasPower = true;
|
hasPower = true;
|
||||||
consumes.power(3f);
|
consumes.power(3f);
|
||||||
@@ -1572,7 +1573,6 @@ public class Blocks implements ContentList{
|
|||||||
shootLength = 5f;
|
shootLength = 5f;
|
||||||
bulletDamage = 25f;
|
bulletDamage = 25f;
|
||||||
reloadTime = 10f;
|
reloadTime = 10f;
|
||||||
health = 190 * size * size;
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
fuse = new ItemTurret("fuse"){{
|
fuse = new ItemTurret("fuse"){{
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ public class ShrapnelBulletType extends BulletType{
|
|||||||
despawnEffect = Fx.none;
|
despawnEffect = Fx.none;
|
||||||
pierce = true;
|
pierce = true;
|
||||||
keepVelocity = false;
|
keepVelocity = false;
|
||||||
|
hittable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -612,7 +612,7 @@ public class UnitType extends UnlockableContent{
|
|||||||
float e = unit.elevation;
|
float e = unit.elevation;
|
||||||
|
|
||||||
float sin = Mathf.lerp(Mathf.sin(walkExtend(mech, true), 2f / Mathf.PI, 1f), 0f, e);
|
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;
|
float boostTrns = e * 2f;
|
||||||
|
|
||||||
Floor floor = unit.isFlying() ? Blocks.air.asFloor() : unit.floorOn();
|
Floor floor = unit.isFlying() ? Blocks.air.asFloor() : unit.floorOn();
|
||||||
|
|||||||
Reference in New Issue
Block a user