diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 3f598ff2..7fc507b5 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -102,10 +102,17 @@ public class PowerActionParser { effectDescription.cycleDelay = Integer.parseInt(headerIterator.next()); powerActionEntry.effects.add(effectDescription); break; + case "ApplyEffects": + while (headerIterator.hasNext()) { + effectDescription = new EffectDescription(); + effectDescription.level = Integer.parseInt(headerIterator.next()); + effectDescription.effect_id = headerIterator.next(); + powerActionEntry.effects.add(effectDescription); + } + break; case "Transform": case "Invis": case "ApplyEffect": - case "ApplyEffects": case "DeferredPower": case "DirectDamage": while (headerIterator.hasNext()) {