No payload source power

This commit is contained in:
Anuken
2021-06-04 11:35:01 -04:00
parent 8ec62e9dba
commit 944b9ae2cf
5 changed files with 5 additions and 6 deletions

View File

@@ -1375,7 +1375,7 @@ public class UnitTypes implements ContentList{
shrinkX = shrinkY = 0.7f;
speed = 0.001f;
speed = 0f;
collides = false;
healPercent = 15f;
@@ -1810,7 +1810,7 @@ public class UnitTypes implements ContentList{
shrinkX = shrinkY = 0f;
speed = 0.001f;
speed = 0f;
splashDamage = 50f;
splashDamageRadius = 40f;

View File

@@ -17,7 +17,7 @@ public class SapBulletType extends BulletType{
public float width = 0.4f;
public SapBulletType(){
speed = 0.0001f;
speed = 0f;
despawnEffect = Fx.none;
pierce = true;
collides = false;

View File

@@ -19,7 +19,7 @@ public class ShrapnelBulletType extends BulletType{
public float serrationLenScl = 10f, serrationWidth = 4f, serrationSpacing = 8f, serrationSpaceOffset = 80f, serrationFadeOffset = 0.5f;
public ShrapnelBulletType(){
speed = 0.01f;
speed = 0f;
hitEffect = Fx.hitLancer;
shootEffect = smokeEffect = Fx.lightningShoot;
lifetime = 10f;

View File

@@ -24,7 +24,7 @@ public class PayloadSource extends PayloadBlock{
size = 3;
update = true;
outputsPayload = true;
hasPower = true;
hasPower = false;
rotate = true;
configurable = true;
//make sure to display large units.

View File

@@ -4,7 +4,6 @@ import mindustry.world.blocks.power.*;
import mindustry.world.meta.*;
public class PowerSource extends PowerNode{
public float powerProduction = 10000f;
public PowerSource(String name){