More flushing out minion support.

This commit is contained in:
2023-08-25 14:33:43 -04:00
parent 400dd6aa5e
commit 9b6959414a
4 changed files with 72 additions and 114 deletions
+27
View File
@@ -379,4 +379,31 @@ public enum NPCManager {
return buildingSlot;
}
public static int getMaxMinions(Mob guardCaptain) {
int maxSlots;
switch (guardCaptain.getRank()) {
case 3:
maxSlots = 2;
break;
case 4:
case 5:
maxSlots = 3;
break;
case 6:
maxSlots = 4;
break;
case 7:
maxSlots = 5;
break;
case 1:
case 2:
default:
maxSlots = 1;
}
return maxSlots;
}
}