From d6c49d0793bd9d6d8f0a367feca6c279822e01f1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 09:25:17 -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 e18d84d6..7d590213 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -144,6 +144,9 @@ public class EffectsParser { case Attr: case Resistance: case Skill: + case HealthRecoverRate: + case ManaRecoverRate: + case StaminaRecoverRate: 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()); @@ -151,6 +154,8 @@ public class EffectsParser { break; case BladeTrails: case CannotCast: + case ImmuneToAttack: + case ImmuneToPowers: break; case MeleeDamageModifier: case OCV: @@ -160,6 +165,7 @@ public class EffectsParser { case DamageCap: case ArmorPiercing: case Speed: + case PowerDamageModifier: 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());