|
|
@ -394,8 +394,8 @@ public enum ForgeManager implements Runnable { |
|
|
|
rollForModifier = ThreadLocalRandom.current().nextInt(1, 100 + 1); |
|
|
|
rollForModifier = ThreadLocalRandom.current().nextInt(1, 100 + 1); |
|
|
|
|
|
|
|
|
|
|
|
if (rollForModifier < 80) { |
|
|
|
if (rollForModifier < 80) { |
|
|
|
rollForModifier = LootManager.TableRoll(vendor.getLevel(), false); |
|
|
|
int randomModifier = LootManager.TableRoll(vendor.getLevel(), false); |
|
|
|
modTableEntry = ModTableEntry.rollTable(modTypeTableEntry.modTableID, rollForModifier); |
|
|
|
modTableEntry = ModTableEntry.rollTable(modTypeTableEntry.modTableID, randomModifier); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (modTableEntry != null) { |
|
|
|
if (modTableEntry != null) { |
|
|
|