Browse Source

More effectmod parser work.

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

4
src/engine/ConfigParsing/EffectsParser.java

@ -137,6 +137,9 @@ public class EffectsParser { @@ -137,6 +137,9 @@ public class EffectsParser {
case ImmuneToPowers:
case Ambidexterity:
case Silenced:
case IgnorePassiveDefense:
case Stunned:
case CannotMove:
break;
case AnimOverride:
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
@ -181,6 +184,7 @@ public class EffectsParser { @@ -181,6 +184,7 @@ public class EffectsParser {
case MaxDamage:
case Value:
case WeaponSpeed:
case MinDamage:
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());

Loading…
Cancel
Save