hch
8 天以前 a7ba2929128d64729f71ac1dad5a969c7667c869
0312 每日掉落战力防范空配置
2个文件已修改
26 ■■■■■ 已修改文件
Main/Config/PartialConfigs/MainChapterConfig.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/MainLevel/MainLevelDropCell.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Config/PartialConfigs/MainChapterConfig.cs
@@ -7,12 +7,17 @@
    protected override void OnConfigParseCompleted()
    {
        for (int i = 0; i < DailyBootyUpperList.Length; i++)
        if (DailyBootyUpperList != null)
        { 
            int itemID = DailyBootyUpperList[i][0];
            if (!unLockedChapterDict.Contains(itemID))
            for (int i = 0; i < DailyBootyUpperList.Length; i++)
            {
                unLockedChapterDict.Add(itemID, ChapterID);
                if (DailyBootyUpperList[i].Length == 0)
                    return;
                int itemID = DailyBootyUpperList[i][0];
                if (!unLockedChapterDict.Contains(itemID))
                {
                    unLockedChapterDict.Add(itemID, ChapterID);
                }
            }
        }
    }
Main/System/MainLevel/MainLevelDropCell.cs
@@ -39,12 +39,15 @@
        {
            lockImg.SetActive(false);
            int maxValue = 0;
            for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
            {
                if (config.DailyBootyUpperList[i][0] == itemID)
            if (config.DailyBootyUpperList != null)
            {
                for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
                {
                    maxValue = config.DailyBootyUpperList[i][1];
                    break;
                    if (config.DailyBootyUpperList[i][0] == itemID)
                    {
                        maxValue = config.DailyBootyUpperList[i][1];
                        break;
                    }
                }
            }
            int curValue = 0;