Browse Source

asset windows to display correct modified maintenance

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

Loading…
Cancel
Save