Variable rename

This commit is contained in:
2025-02-22 15:33:59 -05:00
parent 3e510a487c
commit feebddd495
6 changed files with 15 additions and 15 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.compoundCurveType))
scaledValue = powerAction.compoundCurveType.getValue() + (modifierEntry.compoundCurveType.getValue() * rank);
mbEnums.CompoundCurveType.DefaultSlopeDown).contains(powerAction.levelCapCurve))
scaledValue = powerAction.levelCapCurve.getValue() + (modifierEntry.compoundCurveType.getValue() * rank);
else
scaledValue = powerAction.compoundCurveType.getValue() * (1 + (modifierEntry.compoundCurveType.getValue() * rank));
scaledValue = powerAction.levelCapCurve.getValue() * (1 + (modifierEntry.compoundCurveType.getValue() * rank));
scaledValue = scaledValue * 0.01f;