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
+1 -6
View File
@@ -106,12 +106,7 @@ public final class Bane {
if (this.liveDate == null)
setDefaultTime();
if(this.getCity().getTOL().getRank() == 8)
this.capSize = 40;
else
this.capSize = 20;
this.getCity().setSiegesWithstood(this.capSize);
this.capSize = ZergManager.getBaneCap(this.getCity().getGuild());
}
public static boolean summonBanestone(PlayerCharacter player, ClientConnection origin, int rank) {