internal static bool canUseSpellForSpellCombat(UnitPartMagus unit_part_magus, AbilityData ability)
 {
     if (unit_part_magus.Owner.HasFact(ray_spell_combat))
     {
         return(unit_part_magus.IsSuitableForEldritchArcherSpellStrike(ability));
     }
     else
     {
         return(unit_part_magus.IsSpellFromMagusSpellList(ability));
     }
 }
 internal static bool canUseSpellForSpellCombat(UnitPartMagus unit_part_magus, AbilityData ability)
 {
     if (ability.ActionType != CommandType.Standard || ability.RequireFullRoundAction)
     {
         return(false);
     }
     if (unit_part_magus.Owner.HasFact(ray_spell_combat))
     {
         return(unit_part_magus.IsSuitableForEldritchArcherSpellStrike(ability));
     }
     else
     {
         return(unit_part_magus.IsSpellFromMagusSpellList(ability));
     }
 }