diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 77464a3f..47197685 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -254,6 +254,9 @@ public class PowersParser { case "ISADMINPOWER": powerEntry.isAdminPower = Boolean.parseBoolean(lineValues[1].trim()); break; + case "ISPROJECTILE": + powerEntry.isProjectile = Boolean.parseBoolean(lineValues[1].trim()); + break; case "CASTERSPULSEPARTICLE": powerEntry.casterPulseParticle = Integer.parseInt(lineValues[1].trim()); break; diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index a553549c..718d1700 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -63,5 +63,6 @@ public class PowerEntry { public int casterPulseParticle; public ArrayList targetEffectPrereqs = new ArrayList<>(); public boolean canCastWhileFlying = false; + public boolean isProjectile = false; }