diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 97c040ff..aefc02d4 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -221,6 +221,9 @@ public class PowerActionParser { powerActionEntry.levelCap = Integer.parseInt(arguments[0]); powerActionEntry.levelCurve = mbEnums.CompoundCurveType.valueOf(arguments[1]); break; + case "CLEARAGGRO": + powerActionEntry.clearAggro = 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 4f4ff2b1..5de11864 100644 --- a/src/engine/wpak/data/PowerActionEntry.java +++ b/src/engine/wpak/data/PowerActionEntry.java @@ -39,6 +39,7 @@ public class PowerActionEntry { public mbEnums.DamageType damageType; public boolean applyEffectBlank = false; public boolean wearOffEffectBlank = false; - public boolean removeAll; + public boolean removeAll = false; + public boolean clearAggro = false; }