Browse Source

displayed maintenance for r8 tree no longer shows resource required

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
d575ba663d
  1. 17
      src/engine/net/client/msg/ManageCityAssetsMsg.java

17
src/engine/net/client/msg/ManageCityAssetsMsg.java

@ -485,12 +485,6 @@ public class ManageCityAssetsMsg extends ClientNetMsg {
writer.putInt(building.getRank()); writer.putInt(building.getRank());
// Maintenance costs include resource if
// this structure is an R8 tree
if (building.getRank() == 8)
writer.putInt(5); // Resources included
else
writer.putInt(1); // Gold only writer.putInt(1); // Gold only
writer.putInt(2308551); //Gold writer.putInt(2308551); //Gold
@ -499,17 +493,6 @@ public class ManageCityAssetsMsg extends ClientNetMsg {
else else
writer.putInt(building.getBlueprint().getMaintCost()); // maint cost writer.putInt(building.getBlueprint().getMaintCost()); // maint cost
if (building.getRank() == 8) {
writer.putInt(74856115); // Stone
writer.putInt(1500); // maint cost
writer.putInt(-1603256692); // Lumber
writer.putInt(1500); // maint cost
writer.putInt(-1596311545); // Galvor
writer.putInt(5); // maint cost
writer.putInt(1532478436); // Wormwood
writer.putInt(5); // maint cost
}
LocalDateTime maintDate = building.maintDateTime; LocalDateTime maintDate = building.maintDateTime;
if (maintDate == null) if (maintDate == null)

Loading…
Cancel
Save