|
|
@ -265,12 +265,12 @@ public enum ForgeManager implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
// Assign a prefix and suffix to this item if random rolled
|
|
|
|
// Assign a prefix and suffix to this item if random rolled
|
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.prefixToken == 0) |
|
|
|
if (workOrder.prefixToken == 0 && workOrder.vendor.getItemModTable().contains((template.modTable))) |
|
|
|
forgedItem.prefixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.PREFIX, template.modTable); |
|
|
|
forgedItem.prefixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.PREFIX, template.modTable); |
|
|
|
else |
|
|
|
else |
|
|
|
forgedItem.prefixToken = workOrder.prefixToken; |
|
|
|
forgedItem.prefixToken = workOrder.prefixToken; |
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.suffixToken == 0) |
|
|
|
if (workOrder.suffixToken == 0 && workOrder.vendor.getItemModTable().contains((template.modTable))) |
|
|
|
forgedItem.suffixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.SUFFIX, template.modTable); |
|
|
|
forgedItem.suffixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.SUFFIX, template.modTable); |
|
|
|
else |
|
|
|
else |
|
|
|
forgedItem.suffixToken = workOrder.suffixToken; |
|
|
|
forgedItem.suffixToken = workOrder.suffixToken; |
|
|
|