Browse Source

More effectmod parser work.

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -133,6 +133,8 @@ public class EffectsParser { @@ -133,6 +133,8 @@ public class EffectsParser {
effectModifier.max = Integer.parseInt(modValues.get(2).trim());
break;
case Health:
case Mana:
case Stamina:
effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.max = Integer.parseInt(modValues.get(2).trim());
effectModifier.scale = Float.parseFloat(modValues.get(3).trim());

Loading…
Cancel
Save