Browse Source

More effectmod parser work.

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

1
src/engine/ConfigParsing/EffectsParser.java

@ -174,6 +174,7 @@ public class EffectsParser {
case Speed: case Speed:
case PowerDamageModifier: case PowerDamageModifier:
case DR: case DR:
case PassiveDefense:
effectModifier.min = Integer.parseInt(modValues.get(1).trim()); 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.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());

Loading…
Cancel
Save