|
|
@ -107,6 +107,7 @@ public final class Bane { |
|
|
|
setDefaultTime(); |
|
|
|
setDefaultTime(); |
|
|
|
|
|
|
|
|
|
|
|
this.capSize = ZergManager.getBaneCapSize(this.getCity().getGuild()); |
|
|
|
this.capSize = ZergManager.getBaneCapSize(this.getCity().getGuild()); |
|
|
|
|
|
|
|
this.getCity().setSiegesWithstood(this.capSize); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static boolean summonBanestone(PlayerCharacter player, ClientConnection origin, int rank) { |
|
|
|
public static boolean summonBanestone(PlayerCharacter player, ClientConnection origin, int rank) { |
|
|
@ -268,6 +269,7 @@ public final class Bane { |
|
|
|
DataWarehouse.pushToWarehouse(baneRecord); |
|
|
|
DataWarehouse.pushToWarehouse(baneRecord); |
|
|
|
|
|
|
|
|
|
|
|
bane.capSize = ZergManager.getBaneCapSize(bane.getCity().getGuild()); |
|
|
|
bane.capSize = ZergManager.getBaneCapSize(bane.getCity().getGuild()); |
|
|
|
|
|
|
|
bane.getCity().setSiegesWithstood(bane.capSize); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -344,6 +346,7 @@ public final class Bane { |
|
|
|
|
|
|
|
|
|
|
|
newBane = DbManager.BaneQueries.LOAD_BANE(city.getObjectUUID()); |
|
|
|
newBane = DbManager.BaneQueries.LOAD_BANE(city.getObjectUUID()); |
|
|
|
newBane.capSize = ZergManager.getBaneCapSize(newBane.getCity().getGuild()); |
|
|
|
newBane.capSize = ZergManager.getBaneCapSize(newBane.getCity().getGuild()); |
|
|
|
|
|
|
|
newBane.getCity().setSiegesWithstood(newBane.capSize); |
|
|
|
return newBane; |
|
|
|
return newBane; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|