Browse Source

More PowerEntry work.

feature-config-parsing2
MagicBot 4 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 {
powerAction.categoryToPower = mbEnums.CategoryToPowerType.valueOf(arguments[7]); powerAction.categoryToPower = mbEnums.CategoryToPowerType.valueOf(arguments[7]);
powerEntry.actions.add(powerAction); powerEntry.actions.add(powerAction);
break; break;
case "MaLevel":
powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim());
break;
default: default:
Logger.error("Unhandled variable type:" + key); Logger.error("Unhandled variable type:" + key);
} }

Loading…
Cancel
Save