| | |
| | | #self.__SetItemProtect(curMapItem, dropType, ownerID)
|
| | | return
|
| | |
|
| | | def __CreateDropItem(self, curNPC, itemID, count, isBind, dropPlayer):
|
| | | def __CreateDropItem(self, curNPC, itemID, count, isAuctionItem, dropPlayer):
|
| | | ## 创建掉落的物品
|
| | | if not isBind and not IpyGameDataPY.GetIpyGameDataNotLog("AuctionItem", itemID):
|
| | | isBind = 1
|
| | | isAuctionItem = not isBind
|
| | | if isAuctionItem and not IpyGameDataPY.GetIpyGameDataNotLog("AuctionItem", itemID):
|
| | | isAuctionItem = 0
|
| | | curItem = ItemControler.GetOutPutItemObj(itemID, count, isAuctionItem, curPlayer=dropPlayer)
|
| | | if not curItem:
|
| | | return
|