Breach buff

This commit is contained in:
Anuken
2022-04-07 00:26:46 -04:00
parent 8cebd5975a
commit f7f1bf1a43
2 changed files with 6 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ public class ControlPathfinder{
(PathTile.nearGround(tile) || PathTile.nearSolid(tile) ? 2 : 0) + (PathTile.nearGround(tile) || PathTile.nearSolid(tile) ? 2 : 0) +
(PathTile.deep(tile) ? 0 : 1); (PathTile.deep(tile) ? 0 : 1);
public static boolean showDebug = false; public static boolean showDebug = true;
//static access probably faster than object access //static access probably faster than object access
static int wwidth, wheight; static int wwidth, wheight;
@@ -199,10 +199,10 @@ public class ControlPathfinder{
req.curId = pathId; req.curId = pathId;
//check for the unit getting stuck every N seconds //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; req.stuckTimer = 0f;
//force recalculate //force recalculate
if(req.lastPos.within(unit, 1f)){ if(req.lastPos.within(unit, 1.5f)){
req.lastWorldUpdate = -1; req.lastWorldUpdate = -1;
} }
req.lastPos.set(unit); req.lastPos.set(unit);

View File

@@ -3632,7 +3632,7 @@ public class Blocks{
Effect sfe = new MultiEffect(Fx.shootBigColor, Fx.colorSparkBig); Effect sfe = new MultiEffect(Fx.shootBigColor, Fx.colorSparkBig);
ammo( ammo(
Items.beryllium, new BasicBulletType(7.5f, 90){{ Items.beryllium, new BasicBulletType(7.5f, 95){{
width = 12f; width = 12f;
height = 20f; height = 20f;
shootEffect = sfe; shootEffect = sfe;
@@ -3646,7 +3646,7 @@ public class Blocks{
trailLength = 10; trailLength = 10;
hitEffect = despawnEffect = Fx.hitBulletColor; hitEffect = despawnEffect = Fx.hitBulletColor;
}}, }},
Items.tungsten, new BasicBulletType(8f, 180){{ Items.tungsten, new BasicBulletType(8f, 185){{
width = 13f; width = 13f;
height = 19f; height = 19f;
shootEffect = sfe; shootEffect = sfe;
@@ -3667,7 +3667,7 @@ public class Blocks{
coolantMultiplier = 6f; coolantMultiplier = 6f;
shootShake = 1f; shootShake = 1f;
ammoPerShot = 5; ammoPerShot = 4;
drawer = new DrawTurret("reinforced-"); drawer = new DrawTurret("reinforced-");
shootY = -2; shootY = -2;
outlineColor = Pal.darkOutline; outlineColor = Pal.darkOutline;