forked from MagicBane/Server
Variable rename
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user