hch
9 天以前 1f7675733af28f2cdf393956705de0d399e9be10
Main/System/HappyXB/HappyXBModel.cs
@@ -747,7 +747,7 @@
        XBFuncSet funcSet = GetXBFuncSet(type);
        if (funcSet == null) return false;
        int toolCnt = PackManager.Instance.GetItemCountByID(PackType.Item, funcSet.costToolIds[0]);
        int toolCnt = (int)PackManager.Instance.GetItemCountByID(PackType.Item, funcSet.costToolIds[0]);
        if (toolCnt >= funcSet.costToolNums[0])
        {
            return true;
@@ -764,7 +764,7 @@
        XBFuncSet funcSet = GetXBFuncSet(type);
        if (funcSet == null) return false;
        toolCnt = PackManager.Instance.GetItemCountByID(PackType.Item, funcSet.costToolIds[1]);
        toolCnt = (int)PackManager.Instance.GetItemCountByID(PackType.Item, funcSet.costToolIds[1]);
        needToolCnt = funcSet.costToolNums[1];
        if (toolCnt > 0)
        {
@@ -783,7 +783,7 @@
        XBFuncSet funcSet = GetXBFuncSet(type);
        if (funcSet == null) return false;
        toolCnt = PackManager.Instance.GetItemCountByID(PackType.Item, funcSet.costToolIds[1]);
        toolCnt = (int)PackManager.Instance.GetItemCountByID(PackType.Item, funcSet.costToolIds[1]);
        needToolCnt = funcSet.costToolNums[1];
        if (toolCnt > 0)