Browse Source

More effectmod parser work.

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

1
src/engine/ConfigParsing/EffectsParser.java

@ -188,6 +188,7 @@ public class EffectsParser { @@ -188,6 +188,7 @@ public class EffectsParser {
case MinDamage:
case PowerCost:
case Block:
case ScanRange:
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