Browse Source

More effectmod parser work.

feature-config-parsing2
MagicBot 3 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 { @@ -132,6 +132,11 @@ public class EffectsParser {
effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.max = Integer.parseInt(modValues.get(2).trim());
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:
break;
case MeleeDamageModifier:

Loading…
Cancel
Save