From 105d8135f7c3e0b0d6f4c8730e53c951503667fa Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 18 Aug 2023 12:32:31 -0400 Subject: [PATCH] Tweak to siege minion slot assignments. --- .../net/client/handlers/MinionTrainingMsgHandler.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/MinionTrainingMsgHandler.java b/src/engine/net/client/handlers/MinionTrainingMsgHandler.java index 437d40c3..908483ab 100644 --- a/src/engine/net/client/handlers/MinionTrainingMsgHandler.java +++ b/src/engine/net/client/handlers/MinionTrainingMsgHandler.java @@ -161,8 +161,15 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { siegeMob.parentZone = zone; // Slot siege minion + // Can be either corner tower or bulwark. + + int slot; + + if (building.getBlueprint().equals(Enum.BuildingGroup.ARTYTOWER)) + slot = 1; + else + slot = ((NPC) siegeMob.npcOwner).getSiegeMinionMap().get(siegeMob); - int slot = ((NPC) siegeMob.npcOwner).getSiegeMinionMap().get(siegeMob); slot = slot + 1; // First slot is for the captain BuildingLocation slotLocation = BuildingManager._slotLocations.get(building.meshUUID).get(slot);