|
|
|
@ -106,7 +106,7 @@ public final class Bane {
@@ -106,7 +106,7 @@ public final class Bane {
|
|
|
|
|
if (this.liveDate == null) |
|
|
|
|
setDefaultTime(); |
|
|
|
|
|
|
|
|
|
this.capSize = ZergManager.getBaneCapSize(this); |
|
|
|
|
this.capSize = ZergManager.getBaneCapSize(this.getCity().getGuild()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static boolean summonBanestone(PlayerCharacter player, ClientConnection origin, int rank) { |
|
|
|
@ -267,7 +267,7 @@ public final class Bane {
@@ -267,7 +267,7 @@ public final class Bane {
|
|
|
|
|
BaneRecord baneRecord = BaneRecord.borrow(bane, Enum.RecordEventType.PENDING); |
|
|
|
|
DataWarehouse.pushToWarehouse(baneRecord); |
|
|
|
|
|
|
|
|
|
bane.capSize = ZergManager.getBaneCapSize(bane); |
|
|
|
|
bane.capSize = ZergManager.getBaneCapSize(bane.getCity().getGuild()); |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -343,7 +343,7 @@ public final class Bane {
@@ -343,7 +343,7 @@ public final class Bane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
newBane = DbManager.BaneQueries.LOAD_BANE(city.getObjectUUID()); |
|
|
|
|
newBane.capSize = ZergManager.getBaneCapSize(newBane); |
|
|
|
|
newBane.capSize = ZergManager.getBaneCapSize(newBane.getCity().getGuild()); |
|
|
|
|
return newBane; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|