少年修仙传客户端代码仓库
hch
2020-01-17 1c872532d50ff08e1a1dfbe7c971bfdea31a3670
0312 寻访次数不足打开购买界面
1个文件已修改
11 ■■■■■ 已修改文件
System/HazyRegion/HazyRegionEntrancePanel.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionEntrancePanel.cs
@@ -99,7 +99,9 @@
        bool TryOpenHazyReion(out int error)
        {
            error = 0;
            if (dailyQuestModel.usableActivePoint < model.openActviePoint)
            var totalTimes = dailyQuestModel.GetDailyQuestTotalTimes((int)DailyQuestType.HazyRegion);
            var completedTimes = dailyQuestModel.GetDailyQuestCompletedTimes((int)DailyQuestType.HazyRegion);
            if (totalTimes <= completedTimes)
            {
                error = 2;
                return false;
@@ -125,12 +127,7 @@
                    }
                    break;
                case 2:
                    ConfirmCancel.ShowRealmPopConfirm(Language.Get("Mail101"),
                        Language.Get("OpenHazyRegionError_2"),
                        Language.Get("GotoGetActivePoint"), () =>
                         {
                             WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.DailyQuestFunc1);
                         });
                    WindowCenter.Instance.Open<HazyRegionBuyTimesWin>();
                    break;
                case 3:
                    SysNotifyMgr.Instance.ShowTip("OpenHazyRegionError_3");