Browse Source

Only random rolled items are unidentified.

combat-2
MagicBot 7 months ago
parent
commit
9c146fff4d
  1. 5
      src/engine/gameManager/ForgeManager.java

5
src/engine/gameManager/ForgeManager.java

@ -254,9 +254,10 @@ public enum ForgeManager implements Runnable { @@ -254,9 +254,10 @@ public enum ForgeManager implements Runnable {
forgedItem.ownerID = workOrder.vendor.getObjectUUID();
forgedItem.setDateToUpgrade(workOrder.completionTime);
// Forged items are unidentified until completed
// Forged random rolled items are unidentified until completed
forgedItem.flags.remove(mbEnums.ItemFlags.Identified);
if (workOrder.prefixToken == 0 && workOrder.suffixToken == 0)
forgedItem.flags.remove(mbEnums.ItemFlags.Identified);
return forgedItem;
}

Loading…
Cancel
Save