diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index c7c6fbac..28e2bbab 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -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); }