diff --git a/core/src/mindustry/ai/ControlPathfinder.java b/core/src/mindustry/ai/ControlPathfinder.java index 39acf0d36a..b34fed9021 100644 --- a/core/src/mindustry/ai/ControlPathfinder.java +++ b/core/src/mindustry/ai/ControlPathfinder.java @@ -48,7 +48,7 @@ public class ControlPathfinder{ (PathTile.nearGround(tile) || PathTile.nearSolid(tile) ? 2 : 0) + (PathTile.deep(tile) ? 0 : 1); - public static boolean showDebug = false; + public static boolean showDebug = true; //static access probably faster than object access static int wwidth, wheight; @@ -199,10 +199,10 @@ public class ControlPathfinder{ req.curId = pathId; //check for the unit getting stuck every N seconds - if((req.stuckTimer += Time.delta) >= 60f * 5f){ + if((req.stuckTimer += Time.delta) >= 60f * 2.5f){ req.stuckTimer = 0f; //force recalculate - if(req.lastPos.within(unit, 1f)){ + if(req.lastPos.within(unit, 1.5f)){ req.lastWorldUpdate = -1; } req.lastPos.set(unit); diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index a174745497..afe9eb09f4 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -3632,7 +3632,7 @@ public class Blocks{ Effect sfe = new MultiEffect(Fx.shootBigColor, Fx.colorSparkBig); ammo( - Items.beryllium, new BasicBulletType(7.5f, 90){{ + Items.beryllium, new BasicBulletType(7.5f, 95){{ width = 12f; height = 20f; shootEffect = sfe; @@ -3646,7 +3646,7 @@ public class Blocks{ trailLength = 10; hitEffect = despawnEffect = Fx.hitBulletColor; }}, - Items.tungsten, new BasicBulletType(8f, 180){{ + Items.tungsten, new BasicBulletType(8f, 185){{ width = 13f; height = 19f; shootEffect = sfe; @@ -3667,7 +3667,7 @@ public class Blocks{ coolantMultiplier = 6f; shootShake = 1f; - ammoPerShot = 5; + ammoPerShot = 4; drawer = new DrawTurret("reinforced-"); shootY = -2; outlineColor = Pal.darkOutline;