Browse Source

More PowerEntry parsing work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
0dc8eeee90
  1. 2
      src/engine/wpak/PowersParser.java

2
src/engine/wpak/PowersParser.java

@ -234,7 +234,7 @@ public class PowersParser { @@ -234,7 +234,7 @@ public class PowersParser {
case "WEAROFFEFFECTOTHER":
case "WEAROFFEFFECTSELF":
break;
case "MONSTERRESTRICTS":
case "MONSTERTYPERESTRICTS":
arguments = lineValues[1].trim().split("\\s+");
for (String restriction : arguments)
powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim()));

Loading…
Cancel
Save