|
|
|
@ -313,7 +313,7 @@ public class Blueprint {
@@ -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 {
@@ -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; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|