|
|
@ -239,6 +239,11 @@ public class PowersParser { |
|
|
|
for (String restriction : arguments) |
|
|
|
for (String restriction : arguments) |
|
|
|
powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim())); |
|
|
|
powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim())); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case "MONSTERTYPEPREREQS": |
|
|
|
|
|
|
|
arguments = lineValues[1].trim().split("\\s+"); |
|
|
|
|
|
|
|
for (String restriction : arguments) |
|
|
|
|
|
|
|
powerEntry.monsterPrereqs.add(mbEnums.MonsterType.valueOf(restriction.trim())); |
|
|
|
|
|
|
|
break; |
|
|
|
case "SHOULDCHECKPATH": |
|
|
|
case "SHOULDCHECKPATH": |
|
|
|
powerEntry.shouldCheckPath = Boolean.parseBoolean(lineValues[1].trim()); |
|
|
|
powerEntry.shouldCheckPath = Boolean.parseBoolean(lineValues[1].trim()); |
|
|
|
break; |
|
|
|
break; |
|
|
|