少年修仙传客户端代码仓库
hch
2024-12-18 0cb75a653a646d4afc3b656985b9964efec93032
System/Dungeon/DungeonModel.cs
@@ -1228,12 +1228,27 @@
                        break;
                }
            }
            else if (m_DungeonResult.quickPass == 1)
            {
                //switch (m_DungeonResult.dataMapID)
                //{
                //    case RuneTowerModel.RUNETOWER_MAPID:
                //        WindowCenter.Instance.Open<DungeonRuneTowerVictoryWin>();
                //        break;
                //    case SkyTowerModel.DATA_MAPID:
                //        WindowCenter.Instance.Open<SkyTowerVictoryWin>();
                //        break;
                //    case RealmModel.Tower_MapId:
                //        WindowCenter.Instance.Open<RealmTowerVictoryWin>();
                //        break;
                //}
            }
            else
            {
                if (m_DungeonResult.dataMapID != RuneTowerModel.RUNETOWER_MAPID &&
                    m_DungeonResult.dataMapID != SkyTowerModel.DATA_MAPID &&
                    m_DungeonResult.dataMapID != RealmModel.Tower_MapId)
                {
                {
                    WindowJumpMgr.Instance.ClearJumpData();
                    WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.BaseAndCustom);
                    WindowCenter.Instance.Open<MainInterfaceWin>();
@@ -1783,6 +1798,18 @@
            }
        }
        //个人等副本不让使用雷诛,容易造成数据冲突
        public bool CanFlashKill()
        {
            var mapId = PlayerDatas.Instance.baseData.MapID;
            var mapConfig = MapConfig.Get(mapId);
            if (mapConfig.MapFBType == (int)MapType.SingleFB || mapConfig.MapFBType == (int)MapType.VSRoom)
            {
                return false;
            }
            return true;
        }
    }
}