implement bane cap sizes based on trees in nation

This commit is contained in:
2024-04-28 18:59:43 -05:00
parent 48e126823f
commit fb6a3706cd
4 changed files with 29 additions and 25 deletions
+12
View File
@@ -1,7 +1,19 @@
package engine.gameManager;
import engine.objects.Guild;
public class ZergManager {
public static int getBaneCap(Guild guild){
if(guild.getOwnedCity().getTOL().getRank() == 8)
return 20;
if(guild.getNation().getSubGuildList().size() + 1 <= 4)
return 10;
return 20;
}
public static float getMultiplier3Man(int count){
float multiplier = 1.0f;