少年修仙传客户端代码仓库
hch
2019-10-08 76f0d4d01b1700f417597625e1385a64c3806752
0312 日常界面优化
2个文件已修改
19 ■■■■ 已修改文件
System/DailyQuest/DailyQuestBehaviour.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DailyQuest/DailyQuestModel.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DailyQuest/DailyQuestBehaviour.cs
@@ -202,8 +202,8 @@
                        break;
                }
                m_Times.text = StringUtility.Contact(completedTimes, "/", totalTimes);
                m_Times.colorType = completedTimes >= totalTimes ? TextColType.DarkGreen : TextColType.NavyBrown;
                m_Times.text = StringUtility.Contact(totalTimes - completedTimes);
                m_Times.colorType = completedTimes >= totalTimes ? TextColType.Red : TextColType.DarkGreen;
            }
            state = model.GetQuestState(data.id);
@@ -273,6 +273,8 @@
                        {
                            m_Complete.gameObject.SetActive(false);
                            m_Goto.gameObject.SetActive(true);
                            m_GotoTxt.text = Language.Get("GoodEquip_See");
                        }
                        else
                        {
@@ -321,7 +323,11 @@
                    m_GotoTxt.text = Language.Get("DailyQuestWin_BuyTimes");
                    break;
                case DailyQuestModel.DailyQuestState.Completed:
                    m_GotoTxt.text = Language.Get("DailyQuestWin_Goto");
                    if ((DailyQuestType)data.id == DailyQuestType.DungeonAssist)
                        m_GotoTxt.text = Language.Get("GoodEquip_See");
                    else
                        m_GotoTxt.text = Language.Get("DailyQuestWin_Goto");
                    break;
                default:
                    m_GotoTxt.text = Language.Get("DailyQuestWin_Goto");
System/DailyQuest/DailyQuestModel.cs
@@ -202,7 +202,7 @@
                return false;
            }
            if (PlayerDatas.Instance.baseData.LV >= 250)
            if (PlayerDatas.Instance.baseData.LV >= 90)
            {
                return false;
            }
@@ -440,6 +440,11 @@
                    return defaultUnlock && fairyModel.SatisfyGuardSkyFairyLv();
                case DailyQuestType.FairyLeague:
                    return defaultUnlock && fairyModel.SatisfyOpenFairyLeagueLv();
                case DailyQuestType.Prayer:
                case DailyQuestType.Auction:
                case DailyQuestType.KillMonster:
                case DailyQuestType.SkyTower:
                    return false;
                default:
                    return defaultUnlock;
            }