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 {
case "WEAROFFEFFECTOTHER": case "WEAROFFEFFECTOTHER":
case "WEAROFFEFFECTSELF": case "WEAROFFEFFECTSELF":
break; break;
case "MONSTERRESTRICTS": case "MONSTERTYPERESTRICTS":
arguments = lineValues[1].trim().split("\\s+"); arguments = lineValues[1].trim().split("\\s+");
for (String restriction : arguments) for (String restriction : arguments)
powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim())); powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim()));

Loading…
Cancel
Save