typo
This commit is contained in:
@@ -4663,7 +4663,7 @@ public class Blocks{
|
|||||||
|
|
||||||
recoil = 0.5f;
|
recoil = 0.5f;
|
||||||
|
|
||||||
fogRadiusMultiuplier = 0.4f;
|
fogRadiusMultiplier = 0.4f;
|
||||||
coolantMultiplier = 6f;
|
coolantMultiplier = 6f;
|
||||||
shootSound = Sounds.missileLaunch;
|
shootSound = Sounds.missileLaunch;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ public class BaseTurret extends Block{
|
|||||||
public float range = 80f;
|
public float range = 80f;
|
||||||
public float placeOverlapMargin = 8 * 7f;
|
public float placeOverlapMargin = 8 * 7f;
|
||||||
public float rotateSpeed = 5;
|
public float rotateSpeed = 5;
|
||||||
public float fogRadiusMultiuplier = 1f;
|
public float fogRadiusMultiplier = 1f;
|
||||||
|
|
||||||
/** Effect displayed when coolant is used. */
|
/** Effect displayed when coolant is used. */
|
||||||
public Effect coolEffect = Fx.fuelburn;
|
public Effect coolEffect = Fx.fuelburn;
|
||||||
@@ -57,7 +57,7 @@ public class BaseTurret extends Block{
|
|||||||
}
|
}
|
||||||
|
|
||||||
placeOverlapRange = Math.max(placeOverlapRange, range + placeOverlapMargin);
|
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();
|
super.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,8 +67,8 @@ public class BaseTurret extends Block{
|
|||||||
|
|
||||||
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range, Pal.placing);
|
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range, Pal.placing);
|
||||||
|
|
||||||
if(fogRadiusMultiuplier < 0.99f && state.rules.fog){
|
if(fogRadiusMultiplier < 0.99f && state.rules.fog){
|
||||||
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range * fogRadiusMultiuplier, Pal.lightishGray);
|
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range * fogRadiusMultiplier, Pal.lightishGray);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user