From 3498cc370f3668acee683b4a2f478ccec1cc1e7a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 06:51:30 -0400 Subject: [PATCH] More PowerEntry work. --- src/engine/wpak/PowersParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 9b618b50..c01aa00d 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -201,7 +201,8 @@ public class PowersParser { args.add(matcher1.group().trim()); equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(args.get(0)); - equipmentPreReq.skill = args.get(1); + equipmentPreReq.skill = args.get(1).replaceAll("\"", ""); + ; equipmentPreReq.level = Integer.parseInt(args.get(2)); powerEntry.equipmentPreReq = equipmentPreReq; break;