少年修仙传客户端代码仓库
Client_PangDeRong
2018-12-06 faeb58f3deeb68f919ac878d9e53106002bc59fb
2509 【1.3.100】绝版武器宝箱错误
1个文件已修改
6 ■■■■ 已修改文件
System/KnapSack/Logic/SelectBoxItemCell.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/SelectBoxItemCell.cs
@@ -35,7 +35,11 @@
            nameText.text = itemConfig.ItemName;
            ItemCellModel cellModel = new ItemCellModel(id, false, (ulong)BoxModel.selectDict[id]);
            itemBaisc.Init(cellModel);
            int haveCnt = playerPack.GetItemCountByID(PackType.rptItem, id);
            if (itemConfig.Effect1 == 220)
            {
                id = itemConfig.EffectValueA1;
            }
            int haveCnt = playerPack.GetItemCountByID(PackType.rptItem,id);
            if(haveCnt <= 0)
            {
                haveCnt = ModelCenter.Instance.GetModel<RuneModel>().GetRuneCountById(id);