少年修仙传客户端代码仓库
client_linchunjie
2019-01-07 1147e1fb248f13b7190eff612263e0a23ab1c21f
2835 【1.4.100】【1.5】聚魂页面红点BUG
1个文件已修改
18 ■■■■■ 已修改文件
System/GatheringSoul/GatheringSoulModel.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GatheringSoul/GatheringSoulModel.cs
@@ -1587,16 +1587,20 @@
            {
                GatherSoulItem item;
                virtualPack.TryGetItem(PackType.rptGatherSoul, packIndexs[0], out item);
                for (int i = 0; i < count; i++)
                if (item != null)
                {
                    GatherSoulItem holeItem;
                    if (TryGetItem(i, out holeItem))
                    var hole = 0;
                    if (SatisfyReplace(item, out hole))
                    {
                        if (SatisfyReplace(i, item) && item.Compare(holeItem) == 1)
                        GatherSoulItem holeItem;
                        if (TryGetItem(hole, out holeItem))
                        {
                            replaceRedpointIndex = item.index;
                            replaceRedpoint.state = RedPointState.Simple;
                            return;
                            if (item.Compare(holeItem) == 1)
                            {
                                replaceRedpointIndex = item.index;
                                replaceRedpoint.state = RedPointState.Simple;
                                return;
                            }
                        }
                    }
                }