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

Loading…
Cancel
Save