From e37901612399773d25d3b2f51f5fe77b3d20476c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 3 Jan 2025 20:59:35 -0600 Subject: [PATCH] bane mechanic complete - working --- src/engine/objects/Bane.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index f0363744..b59acff0 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -765,12 +765,16 @@ public final class Bane { PlayerCharacter player = PlayerCharacter.getPlayerCharacter(uuid); if(inSiegeRange.contains(player)) //player is still physically here, needs updated multiplier player.ZergMultiplier = attackerMultiplier; + else + player.ZergMultiplier = 1.0f; } for(int uuid : defenders){ PlayerCharacter player = PlayerCharacter.getPlayerCharacter(uuid); if(inSiegeRange.contains(player)) //player is still physically here, needs updated multiplier player.ZergMultiplier = defenderMultiplier; + else + player.ZergMultiplier = 1.0f; } }