少年修仙传客户端代码仓库
Client_PangDeRong
2018-10-13 efc51da0ee69ad8dea4e3a02a4bcc8adcb3c4c0e
2137 装备预览传奇属性显示错误
1个文件已修改
10 ■■■■■ 已修改文件
System/KnapSack/Logic/ItemTipsModel.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemTipsModel.cs
@@ -2069,9 +2069,17 @@
        {
            legendIdlist = new List<int>();
            legendValuelist = new List<int>();
            string attrCntKey = StringUtility.Contact(itemConfig.ItemColor, itemConfig.StarLevel);
            if (itemTipsModel.legendAttrIDPreviewDict.ContainsKey(itemConfig.EquipPlace))
            {
                foreach (var attrType in itemTipsModel.legendAttrIDPreviewDict[itemConfig.EquipPlace].Keys)
                {
                    int attrCnt = 0;
                    if (itemTipsModel.legendAttrCntPreviewDict.ContainsKey(attrCntKey))
                    {
                        attrCnt = itemTipsModel.legendAttrCntPreviewDict[attrCntKey][attrType];
                    }
                    if(attrCnt > 0)
                {
                    switch (attrType)
                    {
@@ -2083,6 +2091,8 @@
                            break;
                    }
                }
                }
            }
            int i = 0;
            for (i = 0; i < legendIdlist.Count; i++)