More PowerEntry parsing work.
This commit is contained in:
1 parent
9ee2592ec7
commit
e719d13c8c
2 files changed
+7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user