|
|
|
@ -5,6 +5,10 @@ import engine.objects.Guild;
@@ -5,6 +5,10 @@ import engine.objects.Guild;
|
|
|
|
|
public class ZergManager { |
|
|
|
|
|
|
|
|
|
public static int getBaneCap(Guild guild) { |
|
|
|
|
|
|
|
|
|
if(guild.getOwnedCity() == null || guild.getOwnedCity().getTOL() == null) |
|
|
|
|
return 0; |
|
|
|
|
|
|
|
|
|
int cityRank = guild.getOwnedCity().getTOL().getRank(); |
|
|
|
|
return (cityRank == 8) ? 20 : ((guild.getNation().getSubGuildList().size() + 1 <= 4) ? 10 : 20); |
|
|
|
|
} |
|
|
|
|