diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 29157fe8..474bc59b 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -57,6 +57,13 @@ public class PowersParser { while (matcher.find()) powerHeader.add(matcher.group().trim()); + powerEntry.power_id = powerHeader.get(0); + powerEntry.power_name = powerHeader.get(1); + powerEntry.power_type = powerHeader.get(2); + powerEntry.skill_id = Integer.parseInt(powerHeader.get(3)); + powerEntry.skill_name = powerHeader.get(4); + powerEntry.target_type = powerHeader.get(5); + for (int x = 2; x < powerEntries.length; x++) { // Parse key/pair values }