| | |
| | | GameWorld.DebugLog('HightLadder### OnGMHighLadderChallengeReuslt out')
|
| | | if awardItemList:
|
| | | for itemID, itemCnt, isBind in awardItemList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind,
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0,
|
| | | [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere])
|
| | |
|
| | | SendHighLadderState(curPlayer, tick)
|
| | |
| | | #给予物品
|
| | | # 一般物品
|
| | | if itemType == Def_ItemType_CommonItem:
|
| | | if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, \
|
| | | [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere], True):
|
| | | if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere]):
|
| | | continue
|
| | | #PlayerControl.NotifyCode(curPlayer, "ObtainRes01", [itemID, itemCount])
|
| | | # 特殊定制物品
|
| | |
| | |
|
| | | itemDictData = itemData[0]
|
| | | itemDictData['IsBind'] = str(isBind)
|
| | | ItemControler.GivePlayerEquip(curPlayer, itemDictData, True)
|
| | | ItemControler.GivePlayerEquip(curPlayer, itemDictData)
|
| | | #PlayerControl.NotifyCode(curPlayer, "ObtainRes01", [int(itemDictData['ItemID']), itemCount])
|
| | | return True
|
| | |
|