forked from MagicBane/Server
implement bane cap sizes based on trees in nation
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user