Browse Source

More effectmod parser work.

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -170,6 +170,7 @@ public class EffectsParser { @@ -170,6 +170,7 @@ public class EffectsParser {
case HealthFull:
case ManaFull:
case StaminaFull:
case Slay:
effectModifier.min = Float.parseFloat(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
@ -214,6 +215,7 @@ public class EffectsParser { @@ -214,6 +215,7 @@ public class EffectsParser {
case ConstrainedAmbidexterity:
case ProtectionFrom:
case ExclusiveDamageCap:
case IgnoreDamageCap:
effectModifier.arg1 = modValues.get(1).trim();
break;
case WeaponProc:

Loading…
Cancel
Save