| | |
| | | import ItemCommon
|
| | | import GameFuncComm
|
| | | import PlayerSuccess
|
| | | import ItemControler
|
| | | import ChEquip
|
| | |
|
| | | import random
|
| | |
| | | def OnWingJingLian(index, clientData, tick):
|
| | |
|
| | | # 根据策划需要,可以选择是否跨服服务器功能限制
|
| | | # if GameWorld.IsMergeServer():
|
| | | # if GameWorld.IsCrossServer():
|
| | | # return
|
| | |
|
| | | curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | |
| | | wingClassLV = ItemCommon.GetItemClassLV(curWing)
|
| | | for index in materialMessageList:
|
| | | curItem = itemPack.GetAt(index)
|
| | | if not ItemCommon.CheckItemCanUse(curItem):
|
| | | if not ItemCommon.CheckItemCanUse(curItem) or ItemControler.GetIsAuctionItem(curItem):
|
| | | GameWorld.DebugLog("这个格子没有合法材料,index=%s" % index)
|
| | | continue
|
| | | curItemID = curItem.GetItemTypeID()
|