diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 1a153f91..e0a0cd6a 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -137,14 +137,11 @@ public class EffectsParser { case BladeTrails: break; case MeleeDamageModifier: - effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); - effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); case OCV: - effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); - effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); case DCV: effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); + break; default: Logger.error("Unhandled type: " + effectModifier.type); break;