diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 8df1d684..a5c443b4 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -136,6 +136,12 @@ public class EffectsParser { 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()); default: Logger.error("Unhandled type: " + effectModifier.type); break;