diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index b1432fce..ceb756db 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -164,6 +164,9 @@ public class PowerActionParser { for (String bodyPart : arguments) powerActionEntry.attackAnimations.add(Integer.parseInt(bodyPart)); break; + case "REMOVEALL": + powerActionEntry.removeAll = Boolean.parseBoolean(lineValues[1].trim()); + break; case "WEAROFFEFFECTOTHER": // Keys not parsed go here. case "WEAROFFEFFECTSELF": break; diff --git a/src/engine/wpak/data/PowerActionEntry.java b/src/engine/wpak/data/PowerActionEntry.java index b57cbe9e..0c2e288b 100644 --- a/src/engine/wpak/data/PowerActionEntry.java +++ b/src/engine/wpak/data/PowerActionEntry.java @@ -33,7 +33,8 @@ public class PowerActionEntry { public mbEnums.DamageType damageType; public boolean applyEffectBlank = false; public boolean wearOffEffectBlank = false; - public int arg1; + public int arg1; // used in DamageOverTime, CreateMob, etc. public int arg2; + public boolean removeAll; }