diff --git a/src/engine/wpak/EffectsParser.java b/src/engine/wpak/EffectsParser.java index 9c653c70..4244d921 100644 --- a/src/engine/wpak/EffectsParser.java +++ b/src/engine/wpak/EffectsParser.java @@ -236,10 +236,14 @@ public class EffectsParser { case Block: case Parry: case Dodge: + case WeaponRange: 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 ScaleWidth: - case WeaponRange: effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());