diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 6fe58495..311ceacf 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -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); }