mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-29 00:50:06 +07:00
Force projector 2x crash damage multiplier
This commit is contained in:
parent
20a7f3f300
commit
bc7c8ee508
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user