|
|
@ -138,6 +138,18 @@ public class PowersParser { |
|
|
|
case "MaxLevel": |
|
|
|
case "MaxLevel": |
|
|
|
powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim()); |
|
|
|
powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim()); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case "HateValue": |
|
|
|
|
|
|
|
arguments = lineValues[1].trim().split(" "); |
|
|
|
|
|
|
|
powerEntry.hateValue = Integer.parseInt(arguments[0]); |
|
|
|
|
|
|
|
powerEntry.hateCurve = mbEnums.CompoundCurveType.valueOf(arguments[1]); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "LOOPANIMID": |
|
|
|
|
|
|
|
powerEntry.loopAnimID = Integer.parseInt(lineValues[1].trim()); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "GRANTOVERRIDEVAR": |
|
|
|
|
|
|
|
powerEntry.grantOverrideVar = lineValues[1].trim(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
Logger.error("Unhandled variable type:" + key); |
|
|
|
Logger.error("Unhandled variable type:" + key); |
|
|
|
} |
|
|
|
} |
|
|
|