| | |
| | |
|
| | | # 使用拍品
|
| | | if not curItem.GetIsBind():
|
| | | __DoLogic_PlayerUseAuctionItem(curPlayer, curItem, itemIndex, exData)
|
| | | DoLogic_PlayerUseAuctionItem(curPlayer, curItem)
|
| | | return
|
| | |
|
| | | if useCnt <= 0:
|
| | |
| | |
|
| | | return
|
| | |
|
| | | def __DoLogic_PlayerUseAuctionItem(curPlayer, curItem, itemIndex, exData):
|
| | | def DoLogic_PlayerUseAuctionItem(curPlayer, curItem):
|
| | | ## 玩家使用拍品
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | itemID = curItem.GetItemTypeID()
|
| | |
|
| | | curItem.SetIsBind(1) # 设置为非拍品
|
| | | GameWorld.DebugLog("玩家使用拍品: itemIndex=%s,itemID=%s,exData=%s" % (itemID, itemIndex, exData), playerID)
|
| | | curItem.ClearUserAttr(ShareDefine.Def_IudetAuctionItemCreateTime)
|
| | | GameWorld.DebugLog("玩家使用拍品: itemID=%s" % (itemID), playerID)
|
| | |
|
| | | if ItemCommon.GetIsEquip(curItem):
|
| | | # 生成传奇属性
|