Force projector 2x crash damage multiplier

This commit is contained in:
Anuken 2024-09-15 16:30:26 -04:00
parent 20a7f3f300
commit bc7c8ee508

View File

@ -40,6 +40,7 @@ public class ForceProjector extends Block{
public float cooldownBrokenBase = 0.35f;
public float coolantConsumption = 0.1f;
public boolean consumeCoolant = true;
public float crashDamageMultiplier = 2f;
public Effect absorbEffect = Fx.absorb;
public Effect shieldBreakEffect = Fx.shieldBreak;
public @Load("@-top") TextureRegion topRegion;
@ -222,7 +223,7 @@ public class ForceProjector extends Block{
if(absorb){
absorbEffect.at(unit);
hit = 1f;
buildup += damage;
buildup += damage * crashDamageMultiplier;
}
return absorb;
}