From bc7c8ee508929fed4c9afd33404c396cf410bdad Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 15 Sep 2024 16:30:26 -0400 Subject: [PATCH] Force projector 2x crash damage multiplier --- core/src/mindustry/world/blocks/defense/ForceProjector.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/defense/ForceProjector.java b/core/src/mindustry/world/blocks/defense/ForceProjector.java index 96d7efcb92..5798bd9848 100644 --- a/core/src/mindustry/world/blocks/defense/ForceProjector.java +++ b/core/src/mindustry/world/blocks/defense/ForceProjector.java @@ -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; }