Ejemplo n.º 1
0
        public override void OnThink()
        {
            base.OnThink();

            if (Protector != null && Protector is PlayerMobile && InRange(Home, 2))
            {
                PrideOfTheAmbushQuest quest = QuestHelper.GetQuest((PlayerMobile)Protector, typeof(PrideOfTheAmbushQuest)) as PrideOfTheAmbushQuest;

                if (quest != null && !quest.Completed)
                {
                    quest.Update(this);
                }

                Protector.PrivateOverheadMessage(Server.Network.MessageType.Regular, 0x35, 1156501, Protector.NetState); // *You watch as the Tiger Cub safely returns to the Kurak Tribe*

                Timer.DelayCall(TimeSpan.FromSeconds(.25), Delete);
                Protector = null;
            }
        }