| | |
| | |
|
| | | if itemType == Item_Type_Common:
|
| | | packIndexList = [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere]
|
| | | if not ItemControler.GivePlayerItem(curPlayer, itemId, itemNum, itemIsBind, packIndexList, True, showSysInfo=True):
|
| | | if not ItemControler.GivePlayerItem(curPlayer, itemId, itemNum, 0, packIndexList):
|
| | | giveFailList.append(itemInfo)
|
| | |
|
| | | elif itemType == Item_Type_Appoint:
|
| | | if not ItemControler.GivePlayerAppointItem(curPlayer, itemId, itemIsBind, True, showSysInfo=True):
|
| | | if not ItemControler.GivePlayerAppointItem(curPlayer, itemId, False):
|
| | | giveFailList.append(itemInfo)
|
| | |
|
| | | if giveFailList:
|