Browse Source

Debug code added

feature-config-parsing2
MagicBot 4 months ago
parent
commit
6b22e624f6
  1. 4
      src/engine/wpak/PowersParser.java

4
src/engine/wpak/PowersParser.java

@ -63,6 +63,10 @@ public class PowersParser { @@ -63,6 +63,10 @@ public class PowersParser {
powerHeader.add(matcher.group().trim());
powerEntry.power_id = powerHeader.get(0);
if (powerHeader.size() != 21)
Logger.error(powerEntry.power_id);
powerEntry.power_name = powerHeader.get(1).replaceAll("\"", "");
powerEntry.power_type = powerHeader.get(2);
powerEntry.skill_id = Integer.parseInt(powerHeader.get(3));

Loading…
Cancel
Save