|
|
|
@ -138,6 +138,18 @@ public class PowersParser {
@@ -138,6 +138,18 @@ public class PowersParser {
|
|
|
|
|
case "MaxLevel": |
|
|
|
|
powerEntry.maxLevel = Integer.parseInt(lineValues[1].trim()); |
|
|
|
|
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: |
|
|
|
|
Logger.error("Unhandled variable type:" + key); |
|
|
|
|
} |
|
|
|
|