More PowerEntry parsing work.

This commit is contained in:
MagicBot committed 2024-08-19 07:53:19 -04:00
1 parent 9ee2592ec7
commit e719d13c8c
2 files changed
+7

No files matched your search

+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);
}