From 6c882a77886b3e6b59aab2394f71f40ceb15322d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Aug 2024 16:20:58 -0400 Subject: [PATCH] More PowerEntry work. --- src/engine/wpak/PowersParser.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }