Browse Source

More PowerEntry parsing work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
f20a5bb881
  1. 2
      src/engine/wpak/PowersParser.java

2
src/engine/wpak/PowersParser.java

@ -257,7 +257,7 @@ public class PowersParser { @@ -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;

Loading…
Cancel
Save