|
|
@ -239,6 +239,9 @@ 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 "SHOULDCHECKPATH": |
|
|
|
|
|
|
|
powerEntry.shouldCheckPath = Boolean.parseBoolean(lineValues[1].trim()); |
|
|
|
|
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id); |
|
|
|
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id); |
|
|
|
} |
|
|
|
} |
|
|
|