diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 62b506b2..f7bf3454 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -210,6 +210,9 @@ public class PowersParser { case "CANCASTWHILEMOVING": powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim()); break; + case "CANCASTWHILEFLYING": + powerEntry.canCastWhileFlying = Boolean.parseBoolean(lineValues[1].trim()); + break; case "BLADETRAILS": powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim()); break; diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index 33cba54f..a553549c 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -62,5 +62,6 @@ public class PowerEntry { public boolean isAdminPower = false; public int casterPulseParticle; public ArrayList targetEffectPrereqs = new ArrayList<>(); + public boolean canCastWhileFlying = false; }