diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 5d8b58a8..b700f7c1 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -187,7 +187,7 @@ public class PowersParser { equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(arguments[0]); equipmentPreReq.skill = arguments[1].trim(); - equipmentPreReq.level = Integer.parseInt(lineValues[2].trim()); + equipmentPreReq.level = Integer.parseInt(arguments[2].trim()); break; case "SOUNDS": // Values not parsed case "APPLYEFFECTOTHER":