trainer buildings granted 3 slots at r1

This commit is contained in:
2024-05-12 20:46:49 -05:00
parent 3be694275d
commit bfb257c410
2 changed files with 22 additions and 0 deletions
+18
View File
@@ -1655,6 +1655,24 @@ public class Enum {
return extents;
}
public boolean isTrainerBuilding(){
switch(this){
case AMAZONHALL:
case CATHEDRAL:
case GREATHALL:
case KEEP:
case THIEFHALL:
case TEMPLEHALL:
case WIZARDHALL:
case ELVENHALL:
case ELVENSANCTUM:
case IREKEIHALL:
case FORESTHALL:
return true;
}
return false;
}
}
public enum UpdateType {
+4
View File
@@ -310,6 +310,10 @@ public class Blueprint {
// Early exit for buildings with single or no slots
if(this.buildingGroup.isTrainerBuilding() && currentRank > 0){
return 3;
}
if (this.maxSlots <= 1 && this.buildingGroup.equals(BuildingGroup.TOL) == false)
return maxSlots;