forked from MagicBane/Server
Separate group for min/max
This commit is contained in:
@@ -236,10 +236,14 @@ public class EffectsParser {
|
|||||||
case Block:
|
case Block:
|
||||||
case Parry:
|
case Parry:
|
||||||
case Dodge:
|
case Dodge:
|
||||||
|
case WeaponRange:
|
||||||
case ScanRange:
|
case ScanRange:
|
||||||
|
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
|
||||||
|
effectModifier.max = Float.parseFloat(modValues.get(2).trim());
|
||||||
|
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
|
||||||
|
break;
|
||||||
case ScaleHeight:
|
case ScaleHeight:
|
||||||
case ScaleWidth:
|
case ScaleWidth:
|
||||||
case WeaponRange:
|
|
||||||
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
|
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
|
||||||
effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
|
effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
|
||||||
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
|
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
|
||||||
|
|||||||
Reference in New Issue
Block a user