Browse Source

Item prefix and suffix applied

combat-2
MagicBot 7 months ago
parent
commit
99671697ba
  1. 4
      src/engine/gameManager/ForgeManager.java

4
src/engine/gameManager/ForgeManager.java

@ -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) {

Loading…
Cancel
Save