From 000ccdaf0a33be453e95013b273eb6e13386086d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 09:32:58 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 137e8a9d..d7652136 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -150,6 +150,8 @@ public class EffectsParser { case HealthRecoverRate: case ManaRecoverRate: case StaminaRecoverRate: + case DamageShield: + case HealthFull: effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); @@ -159,6 +161,7 @@ public class EffectsParser { case CannotCast: case ImmuneToAttack: case ImmuneToPowers: + case Ambidexterity: break; case MeleeDamageModifier: case OCV: @@ -175,10 +178,13 @@ public class EffectsParser { break; case ItemName: case BlockedPowerType: + case ImmuneTo: + case BlackMantle: effectModifier.arg1 = modValues.get(1).trim(); effectModifier.arg2 = modValues.get(2).trim(); break; case NoMod: + case ConstrainedAmbidexterity: effectModifier.arg1 = modValues.get(1).trim(); break; default: