少年修仙传客户端代码仓库
0312 天星塔改成在副本内即使战力不足依然可以继续挑战直到退出或者失败
2个文件已修改
22 ■■■■ 已修改文件
System/Dungeon/DungeonFightWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/SkyTower/SkyTowerVictoryWin.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonFightWin.cs
@@ -642,7 +642,7 @@
            }
            var config = SkyTowerConfig.Get(skyTowerModel.currentFloor);
            if (!skyTowerModel.IsChallengable() || PlayerDatas.Instance.baseData.FightPoint < (ulong)NPCExConfig.Get(config.bossId).SuppressFightPower)
            if (!skyTowerModel.IsChallengable())
            {
                model.ExitCurrentDungeon();
                return;
System/SkyTower/SkyTowerVictoryWin.cs
@@ -59,20 +59,22 @@
            base.DrawItemRewards();
            base.DrawPassGrade();
            m_NextLevelContainer.SetActive(model.IsRecommendNextLevel());
            //m_NextLevelContainer.SetActive(model.IsRecommendNextLevel());
        }
        protected override void DrawExitTimer(int seconds)
        {
            m_NextLevelTimer.text = Language.Get("SkyTowerNextLevel", Mathf.Clamp(seconds, 0, int.MaxValue));
            if (model.IsRecommendNextLevel())
            {
                m_ExitTimer.text = Language.Get("DemonDungeonExit");
            }
            else
            {
                m_ExitTimer.text = Language.Get("DungeonVictoryWin_Btn_Exit_1", Mathf.Clamp(seconds, 0, int.MaxValue));
            }
            //if (model.IsRecommendNextLevel())
            //{
            //    m_ExitTimer.text = Language.Get("DemonDungeonExit");
            //}
            //else
            //{
            //    m_ExitTimer.text = Language.Get("DungeonVictoryWin_Btn_Exit_1", Mathf.Clamp(seconds, 0, int.MaxValue));
            //}
            m_ExitTimer.text = Language.Get("DemonDungeonExit");
        }
        private void ChallengeNext()