少年修仙传客户端代码仓库
hch
2020-09-07 e312d83f373e52c3937693eca172abd91c8d583a
System/Alchemy/AlchemyModel.cs
@@ -1,8 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine;
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
@@ -683,6 +683,14 @@
                        {
                            continue;
                        }
                        var itemCount = packModel.GetItemCountByID(PackType.Item, config.AlchemItemID);
                        if (drugUseLimit.GetUseLimit() - drugUseLimit.eatTimes - itemCount <= 0)
                        {
                            //背包中有足够的灵根丹
                            continue;
                        }
                    }
                    else
                    {
@@ -708,6 +716,7 @@
                                continue;
                            }
                        }
                        s_Alchemyables.Add(id);
                    }
                }
@@ -950,5 +959,5 @@
            alchemyRedpoint = new Redpoint(redpoint.id, AlchemyModel.redpointIndex++);
        }
    }
}
}