From f20a5bb8819ece55a784894a6f35e640a5da5c5f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 08:20:35 -0400 Subject: [PATCH] More PowerEntry parsing 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 2df6ad6c..d2572fae 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -257,7 +257,7 @@ public class PowersParser { case "TARGETEFFECTPREREQS_ORED": EffectPreReq preReq = new EffectPreReq(); arguments = lineValues[1].trim().split("\\s+"); - preReq.effect_id = arguments[9]; + preReq.effect_id = arguments[0]; preReq.level = Integer.parseInt(arguments[1]); powerEntry.targetEffectPrereqs.add(preReq); break;