Browse Source

More PowerEntry work.

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

2
src/engine/wpak/PowersParser.java

@ -135,7 +135,7 @@ 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": case "MaxLevel":
powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim()); powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim());
break; break;
default: default:

Loading…
Cancel
Save