Browse Source

More effectmod parser work.

feature-config-parsing2
MagicBot 3 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 {
case ImmuneTo: case ImmuneTo:
case BlackMantle: case BlackMantle:
effectModifier.arg1 = modValues.get(1).trim(); effectModifier.arg1 = modValues.get(1).trim();
// Some BlockedPowerType entries have only one argument
if (modValues.size() > 2)
effectModifier.arg2 = modValues.get(2).trim(); effectModifier.arg2 = modValues.get(2).trim();
break; break;
case NoMod: case NoMod:

Loading…
Cancel
Save