Browse Source

Effect Modifier parsing work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
8e19b66a9b
  1. 4
      src/engine/ConfigParsing/EffectsParser.java

4
src/engine/ConfigParsing/EffectsParser.java

@ -128,8 +128,8 @@ public class EffectsParser { @@ -128,8 +128,8 @@ public class EffectsParser {
switch (effectModifier.type) {
case AnimOverride:
effectModifier.min = Integer.parseInt(modEntries[1]);
effectModifier.max = Integer.parseInt(modEntries[2]);
effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.max = Integer.parseInt(modValues.get(2).trim());
break;
default:
Logger.error("Unhandled type: " + effectModifier.type);

Loading…
Cancel
Save