diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 7058bc5a..9b16a721 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -93,10 +93,14 @@ public class PowerActionParser { powerActionEntry.arg1 = Integer.parseInt(headerIterator.next()); powerActionEntry.arg2 = Integer.parseInt(headerIterator.next()); break; + case "Transform": + case "Invis": + powerActionEntry.effect_id = headerIterator.next(); + powerActionEntry.arg1 = Integer.parseInt(headerIterator.next()); + break; case "ApplyEffect": case "DeferredPower": case "DirectDamage": - case "Invis": while (headerIterator.hasNext()) { effectDescription = new EffectDescription(); effectDescription.effect_id = headerIterator.next();