//--------------------------------------------------------------------------------------------- public static bool IsSummon(UOCharacter ch) { bool result = false; if (ch.Renamable || Game.IsMob(ch.Serial) || Game.IsMobRenamed(ch.Serial)) { result = true; } if (!result) { foreach (IUOItemType itemType in ItemLibrary.PlayerSummons) { if (itemType.Graphic == ch.Model && itemType.Color == ch.Color) { if (ItemLibrary.IsMonsterConflictSummon(ch)) { IUOItemType conflictType = ItemLibrary.GetMonsterConflictSummon(ch); string defaultName = (conflictType.Name + String.Empty).Replace(" ", "").ToLower(); string compareName = (ch.Name + String.Empty).Replace(" ", "").ToLower(); result = !compareName.Contains(defaultName); } else { result = true; } break; } } } return(result); }