Exemplo n.º 1
0
        public override void OnDeath(Mobile m)
        {
            base.OnDeath(m);

            if (m is DespiseBoss)
            {
                DespiseController controller = DespiseController.Instance;

                if (controller != null && controller.Boss == m)
                {
                    controller.OnBossSlain();
                }
            }
            else if (m is PlayerMobile && m_LowerLevel)
            {
                KickFromRegion(m, false);
            }
        }
Exemplo n.º 2
0
        public override void OnDeath(Mobile m)
        {
            base.OnDeath(m);

            if (m is DespiseBoss)
            {
                DespiseController controller = DespiseController.Instance;

                if (controller != null && controller.Boss == m)
                {
                    Server.Engines.Quests.WhisperingWithWispsQuest.OnBossSlain((DespiseBoss)m);

                    controller.OnBossSlain();
                }
            }
            else if (m is PlayerMobile && m_LowerLevel)
            {
                KickFromRegion(m, false);
            }
        }