More PowerEntry parsing work.

This commit is contained in:
2024-08-19 07:53:19 -04:00
parent 9ee2592ec7
commit e719d13c8c
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -234,6 +234,11 @@ public class PowersParser {
case "WEAROFFEFFECTOTHER":
case "WEAROFFEFFECTSELF":
break;
case "MONSTERRESTRICTS":
arguments = lineValues[1].trim().split("\\s+");
for (String restriction : arguments)
powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim()));
break;
default:
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id);
}