diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 6f662d62..60d8b06c 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -250,6 +250,11 @@ public class PowersParser { case "STICKY": powerEntry.sticky = Boolean.parseBoolean(lineValues[1].trim()); break; + case "PULSEINFO": + arguments = lineValues[1].trim().split("\\s+"); + powerEntry.pulseCycle = Integer.parseInt(arguments[0]); + powerEntry.pulseDuration = Integer.parseInt(arguments[1]); + 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 52bcb8fa..b35785fa 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -54,4 +54,7 @@ public class PowerEntry { public EnumSet monsterPrereqs = EnumSet.noneOf(mbEnums.MonsterType.class); public boolean shouldCheckPath = false; public boolean sticky = false; + public int pulseCycle; + public int pulseDuration; + }