From 84a124bb52da67a333ce7fd6313fb7e7caec021a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 05:58:24 -0400 Subject: [PATCH] More PowerEntry work. --- src/engine/wpak/PowersParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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":