From 2fa58c4f38fae4294e965efc2ddaf243d9b9714e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 09:16:17 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 9ae34813..e18d84d6 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -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;