Browse Source

Effect Modifier parsing work.

feature-config-parsing2
MagicBot 5 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 {
switch (effectModifier.type) { switch (effectModifier.type) {
case AnimOverride: case AnimOverride:
effectModifier.min = Integer.parseInt(modEntries[1]); effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.max = Integer.parseInt(modEntries[2]); effectModifier.max = Integer.parseInt(modValues.get(2).trim());
break; break;
default: default:
Logger.error("Unhandled type: " + effectModifier.type); Logger.error("Unhandled type: " + effectModifier.type);

Loading…
Cancel
Save