mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 15:02:03 -08:00
Bugfixes
This commit is contained in:
parent
8234f31e83
commit
4d6c8ade98
3 changed files with 3 additions and 2 deletions
|
|
@ -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"){{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ public class ShrapnelBulletType extends BulletType{
|
|||
despawnEffect = Fx.none;
|
||||
pierce = true;
|
||||
keepVelocity = false;
|
||||
hittable = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue