public override bool Test(Sim a, Sim target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback) { if (isAutonomous) { return(false); } if (a != target) { return(false); } try { if (a.CurrentOutfitCategory == Sims3.SimIFace.CAS.OutfitCategories.Career) { return(false); } } catch { return(false); } OmniCareer career = a.Occupation as OmniCareer; Assassination skill = a.SkillManager.GetSkill <Assassination>(Assassination.StaticGuid); if (mType == ServiceType.GrimReaper) { if (skill != null) { if (skill.IsReaper()) { return(true); } } if (career != null) { if (career.CanUseReaper()) { return(true); } } } else { if (skill != null) { if (skill.IsHitman()) { return(true); } } if (career != null) { if (career.CanUseDisguise()) { return(true); } } } return(false); }