diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 6e2eeb3b..54311c51 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -190,8 +190,7 @@ public class PowersParser { break; case "CURVE": arguments = lineValues[1].trim().split("\\s+"); - powerEntry.slopeType = arguments[0]; - powerEntry.curve = mbEnums.CompoundCurveType.valueOf(arguments[1]); + powerEntry.curves.put(arguments[0], mbEnums.CompoundCurveType.valueOf(arguments[1])); break; case "EQPREREQ": EquipmentPreReq equipmentPreReq = new EquipmentPreReq(); diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index 9ff89257..1714476f 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -45,8 +45,7 @@ public class PowerEntry { public int loopAnimID; public String grantOverrideVar; public ArrayList description = new ArrayList<>(); - public String slopeType; - public mbEnums.CompoundCurveType curve; + public HashMap curves; public String category; public boolean canCastWhileMoving = false; public boolean bladeTrails = false;