diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index b700f7c1..b4703547 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -189,6 +189,9 @@ public class PowersParser { equipmentPreReq.skill = arguments[1].trim(); equipmentPreReq.level = Integer.parseInt(arguments[2].trim()); break; + case "CANCASTWHILEMOVING": + powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim()); + break; case "SOUNDS": // Values not parsed case "APPLYEFFECTOTHER": case "FIZZLEOTHER": diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index a817bb26..8e6cf865 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -46,4 +46,5 @@ public class PowerEntry { public String slopeType; public mbEnums.CompoundCurveType curve; public String category; + public boolean canCastWhileMoving = false; }