diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index bbe88363..e704d0c4 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -240,6 +240,9 @@ public class PowerActionParser { case "TARGETBECOMESPET": powerActionEntry.targetBecomesPet = Boolean.parseBoolean(lineValues[1].trim()); break; + case "DESTROYOLDPET": + powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim()); + break; case "APPLYEFFECTOTHER": case "APPLYEFFECTSELF": case "WEAROFFEFFECTOTHER": // Keys not parsed go here. diff --git a/src/engine/wpak/data/PowerActionEntry.java b/src/engine/wpak/data/PowerActionEntry.java index 2ab4a7f0..9181306d 100644 --- a/src/engine/wpak/data/PowerActionEntry.java +++ b/src/engine/wpak/data/PowerActionEntry.java @@ -42,5 +42,6 @@ public class PowerActionEntry { public boolean removeAll = false; public boolean clearAggro = false; public boolean targetBecomesPet = false; + public boolean destroyOldPet = false; }