Browse Source

More PowerEntry work.

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

4
src/engine/wpak/PowersParser.java

@ -135,7 +135,9 @@ public class PowersParser { @@ -135,7 +135,9 @@ public class PowersParser {
powerAction.categoryToPower = mbEnums.CategoryToPowerType.valueOf(arguments[7]);
powerEntry.actions.add(powerAction);
break;
case "MaLevel":
powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim());
break;
default:
Logger.error("Unhandled variable type:" + key);
}

Loading…
Cancel
Save