Browse Source

min/scale/slope for group of types

feature-config-parsing2
MagicBot 5 months ago
parent
commit
c97a6f555a
  1. 1
      src/engine/ConfigParsing/EffectsParser.java

1
src/engine/ConfigParsing/EffectsParser.java

@ -136,6 +136,7 @@ public class EffectsParser {
case MeleeDamageModifier: case MeleeDamageModifier:
case OCV: case OCV:
case DCV: case DCV:
effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
break; break;

Loading…
Cancel
Save