Browse Source

More effectmod parser work.

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -177,6 +177,8 @@ public class EffectsParser { @@ -177,6 +177,8 @@ public class EffectsParser {
case PowerDamageModifier:
case DR:
case PassiveDefense:
case MaxDamage:
case Value:
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