Browse Source

More effectmod parser work.

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

4
src/engine/ConfigParsing/EffectsParser.java

@ -190,6 +190,10 @@ public class EffectsParser { @@ -190,6 +190,10 @@ public class EffectsParser {
case ImmuneTo:
case BlackMantle:
effectModifier.arg1 = modValues.get(1).trim();
// Some BlockedPowerType entries have only one argument
if (modValues.size() > 2)
effectModifier.arg2 = modValues.get(2).trim();
break;
case NoMod:

Loading…
Cancel
Save