Browse Source

More effectmod parser work.

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -136,6 +136,7 @@ public class EffectsParser {
case ImmuneToAttack: case ImmuneToAttack:
case ImmuneToPowers: case ImmuneToPowers:
case Ambidexterity: case Ambidexterity:
case Silenced:
break; break;
case AnimOverride: case AnimOverride:
effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.min = Float.parseFloat(modValues.get(1).trim());
@ -193,6 +194,7 @@ public class EffectsParser {
break; break;
case NoMod: case NoMod:
case ConstrainedAmbidexterity: case ConstrainedAmbidexterity:
case ProtectionFrom:
effectModifier.arg1 = modValues.get(1).trim(); effectModifier.arg1 = modValues.get(1).trim();
break; break;
case WeaponProc: case WeaponProc:

Loading…
Cancel
Save