少年修仙传客户端代码仓库
client_Zxw
2019-01-07 0e3f98ddd702bd6b66db07e6302648b64154a423
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
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;
                            }
                        }
                    }
                }