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 {
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
break; break;
case ItemName: case ItemName:
case BlockedPowerType:
effectModifier.arg1 = modValues.get(1).trim(); effectModifier.arg1 = modValues.get(1).trim();
effectModifier.arg2 = modValues.get(2).trim(); effectModifier.arg2 = modValues.get(2).trim();
break; break;
case NoMod:
effectModifier.arg1 = modValues.get(1).trim();
break;
default: default:
Logger.error("Unhandled type: " + effectModifier.type); Logger.error("Unhandled type: " + effectModifier.type);
break; break;

Loading…
Cancel
Save