| | |
| | | import DataRecordPack
|
| | | import ChPyNetSendPack
|
| | | import NetPackCommon
|
| | | import PyMapTable
|
| | | import NPCCommon
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | |
| | |
|
| | | isBind = hasBind or isBind
|
| | | if itemType == 0:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, |
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, |
| | | [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere])
|
| | | elif itemType == 1:
|
| | | ItemControler.GivePlayerAppointItem(curPlayer, itemID, isBind)
|
| | | ItemControler.GivePlayerAppointItem(curPlayer, itemID, False)
|
| | |
|
| | | else:
|
| | | GameWorld.ErrLog("钓鱼奖励类型不支持itemType=%s" % itemType, curPlayer.GetPlayerID())
|