Balancing / Reconstructors require power

This commit is contained in:
Anuken
2018-08-25 10:37:05 -04:00
parent 86a7f837cd
commit f60ba8587f
8 changed files with 47 additions and 21 deletions

View File

@@ -597,7 +597,7 @@ public class Player extends Unit implements BuilderTrait, CarryTrait, ShooterTra
}
protected void updateShooting(){
if(isShooting()){
if(isShooting() && mech.canShoot(this)){
mech.weapon.update(this, pointerX, pointerY);
}
}

View File

@@ -25,9 +25,7 @@ public class BasicBulletType extends BulletType{
public float fragVelocityMin = 0.2f, fragVelocityMax = 1f;
public BulletType fragBullet = null;
/**
* Use a negative value to disable splash damage.
*/
/**Use a negative value to disable splash damage.*/
public float splashDamageRadius = -1f;
public float splashDamage = 6f;