|
|
@ -131,6 +131,12 @@ public class EffectsParser { |
|
|
|
effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim()); |
|
|
|
effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim()); |
|
|
|
|
|
|
|
|
|
|
|
switch (effectModifier.type) { |
|
|
|
switch (effectModifier.type) { |
|
|
|
|
|
|
|
case BladeTrails: // No parm modifiers
|
|
|
|
|
|
|
|
case CannotCast: |
|
|
|
|
|
|
|
case ImmuneToAttack: |
|
|
|
|
|
|
|
case ImmuneToPowers: |
|
|
|
|
|
|
|
case Ambidexterity: |
|
|
|
|
|
|
|
break; |
|
|
|
case AnimOverride: |
|
|
|
case AnimOverride: |
|
|
|
effectModifier.min = Float.parseFloat(modValues.get(1).trim()); |
|
|
|
effectModifier.min = Float.parseFloat(modValues.get(1).trim()); |
|
|
|
effectModifier.max = Float.parseFloat(modValues.get(2).trim()); |
|
|
|
effectModifier.max = Float.parseFloat(modValues.get(2).trim()); |
|
|
@ -160,12 +166,6 @@ public class EffectsParser { |
|
|
|
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); |
|
|
|
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); |
|
|
|
effectModifier.arg1 = modValues.get(4).trim(); |
|
|
|
effectModifier.arg1 = modValues.get(4).trim(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case BladeTrails: |
|
|
|
|
|
|
|
case CannotCast: |
|
|
|
|
|
|
|
case ImmuneToAttack: |
|
|
|
|
|
|
|
case ImmuneToPowers: |
|
|
|
|
|
|
|
case Ambidexterity: |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case MeleeDamageModifier: |
|
|
|
case MeleeDamageModifier: |
|
|
|
case OCV: |
|
|
|
case OCV: |
|
|
|
case DCV: |
|
|
|
case DCV: |
|
|
|