예제 #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);
            }
        }
예제 #2
0
파일: Region.cs 프로젝트: ygtkms/ServUO
        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);
            }
        }