Browse Source

More effectmod parser work.

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

4
src/engine/ConfigParsing/EffectsParser.java

@ -165,9 +165,13 @@ public class EffectsParser { @@ -165,9 +165,13 @@ public class EffectsParser {
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
break;
case ItemName:
case BlockedPowerType:
effectModifier.arg1 = modValues.get(1).trim();
effectModifier.arg2 = modValues.get(2).trim();
break;
case NoMod:
effectModifier.arg1 = modValues.get(1).trim();
break;
default:
Logger.error("Unhandled type: " + effectModifier.type);
break;

Loading…
Cancel
Save