From ae975b7591beaeaea4ebe8b56d0ea4d3efa776e4 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 14 Feb 2024 20:57:48 -0600 Subject: [PATCH] asset windows to display correct modified maintenance --- src/engine/objects/Blueprint.java | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/engine/objects/Blueprint.java b/src/engine/objects/Blueprint.java index c5532730..dcd4841a 100644 --- a/src/engine/objects/Blueprint.java +++ b/src/engine/objects/Blueprint.java @@ -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 { 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; }