hch
8 天以前 a7ba2929128d64729f71ac1dad5a969c7667c869
0312 每日掉落战力防范空配置
2个文件已修改
8 ■■■■■ 已修改文件
Main/Config/PartialConfigs/MainChapterConfig.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/MainLevel/MainLevelDropCell.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Config/PartialConfigs/MainChapterConfig.cs
@@ -7,8 +7,12 @@
    protected override void OnConfigParseCompleted()
    {
        if (DailyBootyUpperList != null)
        {
        for (int i = 0; i < DailyBootyUpperList.Length; i++)
        { 
                if (DailyBootyUpperList[i].Length == 0)
                    return;
            int itemID = DailyBootyUpperList[i][0];
            if (!unLockedChapterDict.Contains(itemID))
            {
@@ -16,6 +20,7 @@
            }
        }
    }
    }
   
}
Main/System/MainLevel/MainLevelDropCell.cs
@@ -39,6 +39,8 @@
        {
            lockImg.SetActive(false);
            int maxValue = 0;
            if (config.DailyBootyUpperList != null)
            {
            for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
            {
                if (config.DailyBootyUpperList[i][0] == itemID)
@@ -47,6 +49,7 @@
                    break;
                }
            }
            }
            int curValue = 0;
            MainLevelManager.Instance.m_DailyBootyDict.TryGetValue(itemID, out curValue);
            dropValueText.text = UIHelper.AppendColor(curValue >= maxValue ? TextColType.Red : TextColType.Green,