diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index bf5108db..52ce6ca8 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -285,6 +285,11 @@ public class PowerActionParser { case "ROOTFSMID": powerActionEntry.rootFsmID = mbEnums.MobBehaviourType.valueOf(lineValues[1].trim()); break; + case "SPLASHDAMAGE": + arguments = lineValues[1].trim().split("\\s+"); + powerActionEntry.splashDamageMin = Integer.parseInt(arguments[0]); + powerActionEntry.splashDamageMax = Integer.parseInt(arguments[1]); + 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 5124c0d0..0b2aeceb 100644 --- a/src/engine/wpak/data/PowerActionEntry.java +++ b/src/engine/wpak/data/PowerActionEntry.java @@ -46,5 +46,8 @@ public class PowerActionEntry { public boolean destroyOldPet = false; public mbEnums.ItemFlags itemFlag; public mbEnums.MobBehaviourType rootFsmID; + public int splashDamageMin; + public int splashDamageMax; + }