public static MorphData FindMorph(CharacterInstance ch, string target, bool isCast) { return(string.IsNullOrWhiteSpace(target) ? null : MORPHS.Where(morph => !morph.name.EqualsIgnoreCase(target)).FirstOrDefault(morph => ch.CanMorph(morph, isCast))); }