public static bool HasAnyAcceleratedSkillGain(Mobile from) { if (ScrollOfAlacrity.HasAnyAcceleratedSkillGain(from)) { return(true); } if (from is PlayerMobile && ((PlayerMobile)from).Quests.Any(q => q.Objectives.OfType <ApprenticeObjective>().Any())) { return(true); } return(false); }
public static bool HasAcceleratedSkillGain(Mobile from, Skill skill) { if (ScrollOfAlacrity.HasAcceleratedSkillGain(from, skill)) { return(true); } if (from is PlayerMobile && QuestHelper.EnhancedSkill((PlayerMobile)from, skill)) { return(true); } return(false); }