Browse Source

More effectmod parser work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
c361c2a78a
  1. 2
      src/engine/ConfigParsing/EffectsParser.java

2
src/engine/ConfigParsing/EffectsParser.java

@ -150,6 +150,7 @@ public class EffectsParser { @@ -150,6 +150,7 @@ public class EffectsParser {
effectModifier.arg1 = modValues.get(4).trim();
break;
case BladeTrails:
case CannotCast:
break;
case MeleeDamageModifier:
case OCV:
@ -158,6 +159,7 @@ public class EffectsParser { @@ -158,6 +159,7 @@ public class EffectsParser {
case AdjustAboveDmgCap:
case DamageCap:
case ArmorPiercing:
case Speed:
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());

Loading…
Cancel
Save