Browse Source

prefixes drop on mobloot

master
FatBoy-DOTC 1 year ago
parent
commit
68e87dabbc
  1. 2
      src/engine/loot/LootManager.java

2
src/engine/loot/LootManager.java

@ -194,7 +194,7 @@ public class LootManager {
ModTableRow suffixMod = suffixModTable.getRowForRange(new Random().nextInt(maxRollRange) + minRollRange); ModTableRow suffixMod = suffixModTable.getRowForRange(new Random().nextInt(maxRollRange) + minRollRange);
if (suffixMod != null && suffixMod.action.length() > 0) { if (suffixMod != null && suffixMod.action.length() > 0) {
outItem.setSuffix(suffixMod.action); outItem.setSuffix(suffixMod.action);
outItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, true); outItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, false);
} }
} }
} }

Loading…
Cancel
Save