Browse Source

asset windows to display correct modified maintenance

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
ae975b7591
  1. 16
      src/engine/objects/Blueprint.java

16
src/engine/objects/Blueprint.java

@ -167,10 +167,7 @@ public class Blueprint { @@ -167,10 +167,7 @@ public class Blueprint {
// based upon the building's current rank
public static int getNpcMaintCost(int rank) {
int maintCost = Integer.MAX_VALUE;
maintCost = (9730 * rank) + 1890;
int maintCost = 0;
return maintCost;
}
@ -611,17 +608,10 @@ public class Blueprint { @@ -611,17 +608,10 @@ public class Blueprint {
switch (this.buildingGroup) {
case TOL:
case BARRACK:
maintCost = (61500 * rank) + 19500;
break;
case SPIRE:
maintCost = (4800 * rank) + 1200;
maintCost = 3000000;
break;
default:
if (maxRank == 1)
maintCost = 22500;
else
maintCost = (15900 * rank) + 3300;
maintCost = 0;
break;
}

Loading…
Cancel
Save