From 8349c2690621698917026ea9f839da145ec4f053 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 4 Mar 2024 07:14:04 -0600 Subject: [PATCH] Tree Upgrade time changes --- src/engine/objects/Blueprint.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Blueprint.java b/src/engine/objects/Blueprint.java index c4c04f53..aab76a11 100644 --- a/src/engine/objects/Blueprint.java +++ b/src/engine/objects/Blueprint.java @@ -497,7 +497,17 @@ public class Blueprint { // Select equation for rank time based upon the // buildings current Maintenance BuildingGroup. These values // are expressed in hours - + if(this.getBuildingGroup().equals(BuildingGroup.TOL)) + switch(targetRank){ + case 2: + case 3: + case 4: + case 5: + return 6; + case 6: + case 7: + return 36; + } return 5; }