More generalized curve helper

This commit is contained in:
2025-02-22 15:23:15 -05:00
parent 1a64272801
commit 5277fbbe56
6 changed files with 29 additions and 13 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ public class PowerActionParser {
powerAction.ramp = Integer.parseInt(arguments.get(0));
if (arguments.size() > 1) // Not all level caps have a curve
powerAction.rampCurve = mbEnums.CompoundCurveType.valueOf(arguments.get(1));
powerAction.compoundCurve = mbEnums.CompoundCurveType.valueOf(arguments.get(1));
break;
case "CLEARAGGRO":
powerAction.clearAggro = Boolean.parseBoolean(lineValues.get(1).trim());
+1 -1
View File
@@ -24,7 +24,7 @@ public class PowerAction {
public int petRace;
public StatTransfer statTransfer;
public int ramp;
public mbEnums.CompoundCurveType rampCurve;
public mbEnums.CompoundCurveType compoundCurve;
public TrackEntry trackEntry;
// Additional variables after header go here.