少年修仙传客户端代码仓库
Client_PangDeRong
2018-09-08 58385a822e71c83ea54f78df104d48fa2f1a1692
1855 修改仙器替换界面评分图标比较错误
1个文件已修改
15 ■■■■■ 已修改文件
System/KnapSack/New/CommonItemBaisc.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/CommonItemBaisc.cs
@@ -218,7 +218,7 @@
        {
            ItemConfig config = Config.Instance.Get<ItemConfig>(itemId);
            int playerJob = PlayerDatas.Instance.baseData.Job;
            if (config == null || (!isCompare && compareSocre <= 0) || config.EquipPlace == 0) return 0;
            if (config == null || (!isCompare && compareSocre <= 0) || config.EquipPlace == 0 || score == compareSocre) return 0;
            ItemModel model = playerPack.GetItemModelByGUID(guid);
            if (model != null && modelInterface.IsOverdue(guid, itemId, model.useDataDict)) return 1;
@@ -234,14 +234,11 @@
                {
                    compareSocre = GetCompareSocre(PackType.rptDogzEquip, config.EquipPlace);
                }
               if(score == compareSocre)
                {
                    return 0;
                }
               else
                {
                    return score > compareSocre ? 2 : 3;
                }
            }
            if (score == compareSocre)
            {
                return 0;
            }
            else
            {