Exemplo n.º 1
0
        public override bool CanDrop(PlayerMobile player)
        {
            TheGraveDiggerQuest qs = player.Quest as TheGraveDiggerQuest;

            if (qs == null)
            {
                return(true);
            }

            return(!(qs.IsObjectiveInProgress(typeof(FindYeastObjective)) ||
                     qs.IsObjectiveInProgress(typeof(FindYeastObjective)) ||
                     qs.IsObjectiveInProgress(typeof(FindRiceFlavorSticksObjective)) ||
                     qs.IsObjectiveInProgress(typeof(FindPureGrainAlcoholObjective)) ||
                     qs.IsObjectiveInProgress(typeof(FindVincentObjective))));
        }
Exemplo n.º 2
0
        public override bool CanDrop(PlayerMobile player)
        {
            TheGraveDiggerQuest qs = player.Quest as TheGraveDiggerQuest;

            if (qs == null)
            {
                return(true);
            }

            return(!(qs.IsObjectiveInProgress(typeof(ReturnToDrunkObjective))));
        }