少年修仙传客户端代码仓库
hch
2020-10-11 1baf4bc9946f64f863eaad64eca12dd33eb28491
0312 强化功能未开启,宝石镶嵌不刷新红点
1个文件已修改
28 ■■■■■ 已修改文件
System/EquipGem/EquipGemModel.cs 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipGemModel.cs
@@ -1,8 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine;
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
@@ -236,15 +236,15 @@
                vipLevel = int.Parse(vipHoleConfig.Numerical1),
            });
            var configs = EquipControlConfig.GetValues();
            var totalEquipLevels = new List<int>();
            foreach (var item in configs)
            {
                var level = item.level;
            var configs = EquipControlConfig.GetValues();
            var totalEquipLevels = new List<int>();
            foreach (var item in configs)
            {
                var level = item.level;
                if (!totalEquipLevels.Contains(level))
                {
                    totalEquipLevels.Add(level);
                }
                }
            }
            foreach (var level in totalEquipLevels)
@@ -889,6 +889,12 @@
        void RefreshRedpoint()
        {
            //宝石镶嵌功能和强化一起开放,避免红点问题
            if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Strength))
            {
                return;
            }
            List<int> places = new List<int>(m_EquipPlaces);
            #region 检查空的孔位
@@ -1192,5 +1198,5 @@
    {
        MultiEquip,
    }
}
}