| | |
| | | cntList.sort()
|
| | | costItemCnt = costItemCntDict[str(cntList[-1])]
|
| | | for cnt in cntList:
|
| | | if curRefreshCnt <= cnt:
|
| | | if curRefreshCnt < cnt:
|
| | | costItemCnt = costItemCntDict[str(cnt)]
|
| | | break
|
| | | enough, indexList, hasBind, lackCnt = ItemCommon.GetItem_FromPack_ByID_ExEx(costItemID, itemPack, costItemCnt)
|
| | |
| | |
|
| | | itemControl = ItemControler.PlayerItemControler(curPlayer)
|
| | | for itemID, itemCount, isBind in totalItemList:
|
| | | curItemObj = ItemControler.GetOutPutItemObj(itemID, itemCount, isBind)
|
| | | curItemObj = ItemControler.GetOutPutItemObj(itemID, itemCount, False)
|
| | | if not curItemObj:
|
| | | continue
|
| | | userData = curItemObj.GetUserData()
|