Variable rename

This commit is contained in:
2025-02-22 15:25:36 -05:00
parent 5277fbbe56
commit 3e510a487c
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.compoundCurve))
scaledValue = powerAction.compoundCurve.getValue() + (modifierEntry.compoundCurveType.getValue() * rank);
mbEnums.CompoundCurveType.DefaultSlopeDown).contains(powerAction.compoundCurveType))
scaledValue = powerAction.compoundCurveType.getValue() + (modifierEntry.compoundCurveType.getValue() * rank);
else
scaledValue = powerAction.compoundCurve.getValue() * (1 + (modifierEntry.compoundCurveType.getValue() * rank));
scaledValue = powerAction.compoundCurveType.getValue() * (1 + (modifierEntry.compoundCurveType.getValue() * rank));
scaledValue = scaledValue * 0.01f;