Browse Source

More effectmod parser work.

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -189,6 +189,8 @@ public class EffectsParser {
case MinDamage: case MinDamage:
case PowerCost: case PowerCost:
case Block: case Block:
case Parry:
case Dodge:
case ScanRange: case ScanRange:
effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.min = Float.parseFloat(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim());

Loading…
Cancel
Save