Browse Source

Support for non-random rolling

combat-2
MagicBot 8 months ago
parent
commit
73fa5b5c7e
  1. 4
      src/engine/gameManager/ForgeManager.java

4
src/engine/gameManager/ForgeManager.java

@ -270,9 +270,13 @@ public enum ForgeManager implements Runnable { @@ -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

Loading…
Cancel
Save