Variable rename

This commit is contained in:
2025-02-22 15:34:28 -05:00
parent feebddd495
commit 6585248eb8
6 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -443,10 +443,10 @@ public class WpakPowerManager {
// Method scales by either integer or float values driven by the curve type
if (EnumSet.of(mbEnums.CompoundCurveType.DefaultFlat, mbEnums.CompoundCurveType.DefaultSlope,
mbEnums.CompoundCurveType.DefaultSlopeDown).contains(powerAction.levelCapCurve))
scaledValue = powerAction.levelCapCurve.getValue() + (modifierEntry.compoundCurveType.getValue() * rank);
mbEnums.CompoundCurveType.DefaultSlopeDown).contains(powerAction.compoundCurveType))
scaledValue = powerAction.compoundCurveType.getValue() + (modifierEntry.compoundCurveType.getValue() * rank);
else
scaledValue = powerAction.levelCapCurve.getValue() * (1 + (modifierEntry.compoundCurveType.getValue() * rank));
scaledValue = powerAction.compoundCurveType.getValue() * (1 + (modifierEntry.compoundCurveType.getValue() * rank));
scaledValue = scaledValue * 0.01f;