diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 323f8810..b5a3d3cb 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -239,6 +239,9 @@ public class PowersParser { for (String restriction : arguments) powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim())); break; + case "SHOULDCHECKPATH": + powerEntry.shouldCheckPath = Boolean.parseBoolean(lineValues[1].trim()); + break; default: Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id); } diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index b51e26e9..b197f9e2 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -51,4 +51,5 @@ public class PowerEntry { public boolean bladeTrails = false; public EquipmentPreReq equipmentPreReq; public EnumSet monsterRestricts; + public boolean shouldCheckPath = false; }