Пример #1
0
        public override void OnPrepareNewSession()
        {
            base.OnPrepareNewSession();
            int[] resources = { npcID, bossID };
            Game.LoadResources(resources);

            NpcInfo npcInfo4 = NPCInfoMgr.GetNpcInfoById(4);

            Game.GameOverResources[0] = npcInfo4.ModelID;
            NpcInfo npcInfo8 = NPCInfoMgr.GetNpcInfoById(8);

            Game.GameOverResources[1] = npcInfo8.ModelID;

            Game.SetMap(1076);
            Game.IsBossWar = "真炸弹人王";
        }
Пример #2
0
        public override void OnPrepareNewSession()
        {
            base.OnPrepareNewSession();

            NpcInfo npcInfo28 = NPCInfoMgr.GetNpcInfoById(28);

            Game.GameOverResources[0] = npcInfo28.ModelID;
            Game.AddLoadingFile(2, npcInfo28.ResourcesPath, npcInfo28.ModelID);

            NpcInfo npcInfo32 = NPCInfoMgr.GetNpcInfoById(32);

            Game.GameOverResources[1] = npcInfo32.ModelID;
            Game.AddLoadingFile(2, npcInfo32.ResourcesPath, npcInfo32.ModelID);

            Game.SetMap(1076);
            Game.IsBossWar = "真炸弹人王";
        }