From 73fa5b5c7e374d09ca5d6abe9a79d484d15878b0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 14 Apr 2024 15:19:55 -0400 Subject: [PATCH] Support for non-random rolling --- src/engine/gameManager/ForgeManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index b500535e..a4c251e4 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -270,9 +270,13 @@ public enum ForgeManager implements Runnable { if (workOrder.prefixToken == 0) forgedItem.prefixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.PREFIX, template.modTable); + else + forgedItem.prefixToken = workOrder.prefixToken; if (workOrder.suffixToken == 0) forgedItem.suffixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.SUFFIX, template.modTable); + else + forgedItem.suffixToken = workOrder.suffixToken; // Forged random rolled items are unidentified until completed