Browse Source

More effectmod parser work.

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

5
src/engine/ConfigParsing/EffectsParser.java

@ -132,6 +132,11 @@ public class EffectsParser {
effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.max = Integer.parseInt(modValues.get(2).trim()); effectModifier.max = Integer.parseInt(modValues.get(2).trim());
break; break;
case Attr:
effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
effectModifier.arg1 = modValues.get(4).trim();
case BladeTrails: case BladeTrails:
break; break;
case MeleeDamageModifier: case MeleeDamageModifier:

Loading…
Cancel
Save