diff --git a/src/engine/wpak/PowerEntry.java b/src/engine/wpak/PowerEntry.java index 6a187f36..f17d43ee 100644 --- a/src/engine/wpak/PowerEntry.java +++ b/src/engine/wpak/PowerEntry.java @@ -16,4 +16,6 @@ public class PowerEntry { public int skill_id; public String skill_name; public String target_type; + public int range; + public String radiusType; } diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 474bc59b..a2ee8456 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -63,6 +63,9 @@ public class PowersParser { powerEntry.skill_id = Integer.parseInt(powerHeader.get(3)); powerEntry.skill_name = powerHeader.get(4); powerEntry.target_type = powerHeader.get(5); + powerEntry.range = Integer.parseInt(powerHeader.get(6)); + powerEntry.radiusType = powerHeader.get(2); + for (int x = 2; x < powerEntries.length; x++) { // Parse key/pair values