Browse Source

Logic fix in siege minions.

combat-2
MagicBot 1 year ago
parent
commit
33529404cf
  1. 2
      src/engine/gameManager/NPCManager.java

2
src/engine/gameManager/NPCManager.java

@ -348,7 +348,7 @@ public enum NPCManager { @@ -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)

Loading…
Cancel
Save