diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 1f2dabef..9ba0418a 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -271,6 +271,9 @@ public class PowerActionParser { case "DAMAGETYPE": powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim().toUpperCase()); break; + case "ROOTFSMID": + powerActionEntry.rootFsmID = mbEnums.MobBehaviourType.valueOf(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 fb684fcb..890037bd 100644 --- a/src/engine/wpak/data/PowerActionEntry.java +++ b/src/engine/wpak/data/PowerActionEntry.java @@ -44,5 +44,6 @@ public class PowerActionEntry { public boolean targetBecomesPet = false; public boolean destroyOldPet = false; public mbEnums.ItemFlags itemFlag; + public mbEnums.MobBehaviourType rootFsmID; }