少年修仙传客户端代码仓库
client_linchunjie
2018-12-19 0dd88ff18c1267948c90c362306dc8a536c32bf9
【1.4】聚魂功能
2个文件已修改
10 ■■■■ 已修改文件
System/GatheringSoul/GatherSoulItemBehaviour.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GatheringSoul/GatheringSoulModel.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GatheringSoul/GatherSoulItemBehaviour.cs
@@ -166,8 +166,8 @@
                            data.SetTipsFuncBtn(ItemWinBtnType.Replace, OnTipFunc);
                        }
                        GatherSoulComposeModel.Compose compose;
                        if(composeModel.TryGetCompose(item.id,out compose)
                            && compose.requireItems.Count > 0)
                        if ((composeModel.TryGetCompose(item.id, out compose)
                            && compose.requireItems.Count > 0) || item.sourceType == 1)
                        {
                            data.SetTipsFuncBtn(ItemWinBtnType.split, OnTipFunc);
                        }
System/GatheringSoul/GatheringSoulModel.cs
@@ -1210,6 +1210,10 @@
                GatherSoulItem item;
                if (virtualPack.TryGetItem(PackType.rptGatherSoul, packlist[i], out item))
                {
                    if (item.sourceType == 1)
                    {
                        continue;
                    }
                    if (item.itemType == GATHERSOUL_ESSENCE_TYPE)
                    {
                        list.Add(item);
@@ -1408,6 +1412,8 @@
        public int placeType { get; private set; }//0-背包 1-装备
        public int sourceType { get; private set; }//来源
        GatheringSoulModel model
        {
            get { return ModelCenter.Instance.GetModel<GatheringSoulModel>(); }