From 96c1e34a089aaa86cf1f612933e4edd2e8f590bc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 14 Feb 2024 19:11:09 -0600 Subject: [PATCH] Tol can now support 4 max slost at r7/8 --- src/engine/objects/Blueprint.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/engine/objects/Blueprint.java b/src/engine/objects/Blueprint.java index 15777c27..b3db656b 100644 --- a/src/engine/objects/Blueprint.java +++ b/src/engine/objects/Blueprint.java @@ -313,7 +313,7 @@ public class Blueprint { // Early exit for buildings with single or no slots - if (this.maxSlots <= 1) + if (this.maxSlots <= 1 && this.buildingGroup.equals(BuildingGroup.TOL) == false) return maxSlots; if (this.maxRank == 1 && currentRank == 1) @@ -328,20 +328,22 @@ public class Blueprint { case 3: case 4: case 5: - case 6: availableSlots = 2; break; + case 6: case 7: availableSlots = 3; break; case 8: - availableSlots = 1; + availableSlots = 3; break; default: availableSlots = 0; break; } - + if(this.buildingGroup.equals(BuildingGroup.TOL)){ + availableSlots += 1; + } return availableSlots; }