Corner trebs go into slot 1.

This commit is contained in:
MagicBot committed 2023-04-05 18:32:03 -04:00
1 parent 55fc6a68e1
commit fc6f400e09
2 files changed
+5 -7

No files matched your search

+5
View File
@@ -1451,6 +1451,11 @@ public class NPC extends AbstractCharacter {
else if (!siegeMinionMap.containsValue(2))
slot = 2;
// Corner trebs always are slot 1
if (this.building.getBlueprint().getBuildingGroup().equals(BuildingGroup.ARTYTOWER))
slot = 1;
siegeMinionMap.put(mob, slot);
mob.setInBuildingLoc(this.building, this);