From 33529404cfc95c14d989f0d5df6bd69451599cb1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 27 Aug 2023 23:25:44 -0400 Subject: [PATCH] Logic fix in siege minions. --- src/engine/gameManager/NPCManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/NPCManager.java b/src/engine/gameManager/NPCManager.java index 24fb9d21..28b76552 100644 --- a/src/engine/gameManager/NPCManager.java +++ b/src/engine/gameManager/NPCManager.java @@ -348,7 +348,7 @@ public enum NPCManager { if (abstractCharacter.getObjectType().equals(Enum.GameObjectType.Mob) && ((Mob) abstractCharacter).behaviourType.equals(Enum.MobBehaviourType.SiegeEngine)) { Mob siegeMobile = (Mob) abstractCharacter; - buildingSlot = siegeMobile.guardCaptain.siegeMinionMap.size() + 2; + buildingSlot = siegeMobile.guardCaptain.siegeMinionMap.size() + 1; } if (buildingSlot == -1)