diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index e0d13e8f..6f662d62 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -247,6 +247,9 @@ public class PowersParser { case "SHOULDCHECKPATH": powerEntry.shouldCheckPath = Boolean.parseBoolean(lineValues[1].trim()); break; + case "STICKY": + powerEntry.sticky = 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 a9c87a49..52bcb8fa 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -53,4 +53,5 @@ public class PowerEntry { public EnumSet monsterRestricts = EnumSet.noneOf(mbEnums.MonsterType.class); public EnumSet monsterPrereqs = EnumSet.noneOf(mbEnums.MonsterType.class); public boolean shouldCheckPath = false; + public boolean sticky = false; }