From 97e0ada1a914077272df8b1a81131931eecf62d7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 12 Apr 2024 16:16:34 -0400 Subject: [PATCH] workerOrder cost updating --- src/engine/gameManager/ForgeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 3fabf032..9dd7dd67 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -141,7 +141,7 @@ public enum ForgeManager implements Runnable { public static long calcRollingDuration(WorkOrder workOrder) { long rollingDuration; - float rate = (float) (2.5 * (workOrder.vendor.getBuilding().getRank() - 1)); + float rate = (float) 2.5 * (workOrder.vendor.getBuilding().getRank() - 1); float baseTime = (20 - rate) * 60000; ItemTemplate template = ItemTemplate.templates.get(workOrder.templateID);