Browse Source

More effectmod parser work.

feature-config-parsing2
MagicBot 4 months ago
parent
commit
260bc453d1
  1. 2
      src/engine/ConfigParsing/EffectsParser.java

2
src/engine/ConfigParsing/EffectsParser.java

@ -140,6 +140,7 @@ public class EffectsParser { @@ -140,6 +140,7 @@ public class EffectsParser {
case IgnorePassiveDefense:
case Stunned:
case CannotMove:
case PowerCostHealth:
break;
case AnimOverride:
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
@ -185,6 +186,7 @@ public class EffectsParser { @@ -185,6 +186,7 @@ public class EffectsParser {
case Value:
case WeaponSpeed:
case MinDamage:
case PowerCost:
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