|
|
@ -261,6 +261,9 @@ public class PowersParser { |
|
|
|
case "MAXNUMPLAYERTARGETS": |
|
|
|
case "MAXNUMPLAYERTARGETS": |
|
|
|
powerEntry.maxPlayerTargets = Integer.parseInt(lineValues[1].trim()); |
|
|
|
powerEntry.maxPlayerTargets = Integer.parseInt(lineValues[1].trim()); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case "ISADMINPOWER": |
|
|
|
|
|
|
|
powerEntry.isAdminPower = 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); |
|
|
|
} |
|
|
|
} |
|
|
|