This commit is contained in:
Anuken
2023-05-19 12:30:45 -04:00
parent 1f85d0d24f
commit 7c52444e3c
2 changed files with 5 additions and 5 deletions

View File

@@ -4663,7 +4663,7 @@ public class Blocks{
recoil = 0.5f;
fogRadiusMultiuplier = 0.4f;
fogRadiusMultiplier = 0.4f;
coolantMultiplier = 6f;
shootSound = Sounds.missileLaunch;

View File

@@ -18,7 +18,7 @@ public class BaseTurret extends Block{
public float range = 80f;
public float placeOverlapMargin = 8 * 7f;
public float rotateSpeed = 5;
public float fogRadiusMultiuplier = 1f;
public float fogRadiusMultiplier = 1f;
/** Effect displayed when coolant is used. */
public Effect coolEffect = Fx.fuelburn;
@@ -57,7 +57,7 @@ public class BaseTurret extends Block{
}
placeOverlapRange = Math.max(placeOverlapRange, range + placeOverlapMargin);
fogRadius = Math.max(Mathf.round(range / tilesize * fogRadiusMultiuplier), fogRadius);
fogRadius = Math.max(Mathf.round(range / tilesize * fogRadiusMultiplier), fogRadius);
super.init();
}
@@ -67,8 +67,8 @@ public class BaseTurret extends Block{
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range, Pal.placing);
if(fogRadiusMultiuplier < 0.99f && state.rules.fog){
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range * fogRadiusMultiuplier, Pal.lightishGray);
if(fogRadiusMultiplier < 0.99f && state.rules.fog){
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range * fogRadiusMultiplier, Pal.lightishGray);
}
}