diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 9b021f17..2df6ad6c 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -254,6 +254,13 @@ public class PowersParser { case "CASTERSPULSEPARTICLE": powerEntry.casterPulseParticle = Integer.parseInt(lineValues[1].trim()); break; + case "TARGETEFFECTPREREQS_ORED": + EffectPreReq preReq = new EffectPreReq(); + arguments = lineValues[1].trim().split("\\s+"); + preReq.effect_id = arguments[9]; + preReq.level = Integer.parseInt(arguments[1]); + powerEntry.targetEffectPrereqs.add(preReq); + break; case "SOUNDS": // Values not parsed case "APPLYDAMAGECASTER": case "APPLYDAMAGEOTHER": diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index f0afcc1c..33cba54f 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -61,5 +61,6 @@ public class PowerEntry { public int maxPlayerTargets; public boolean isAdminPower = false; public int casterPulseParticle; + public ArrayList targetEffectPrereqs = new ArrayList<>(); }