forked from MagicBane/Server
No need to process zero values
This commit is contained in:
@@ -440,6 +440,7 @@ public class WpakPowerManager {
|
||||
modifierEntry.min * (1 + (modifierEntry.compoundCurveType.getValue() * rank)) :
|
||||
modifierEntry.min + (modifierEntry.compoundCurveType.getValue() * rank);
|
||||
|
||||
if (modifierEntry.max != 0)
|
||||
outData.second = modifierEntry.compoundCurveType.name().contains("SIVL") ?
|
||||
modifierEntry.max * (1 + (modifierEntry.compoundCurveType.getValue() * rank)) :
|
||||
modifierEntry.max + (modifierEntry.compoundCurveType.getValue() * rank);
|
||||
|
||||
Reference in New Issue
Block a user