| | |
| | | def __doKillAward(curPlayer, atkObj, killObjList):
|
| | | ## 计算击杀奖励
|
| | | if not killObjList:
|
| | | GameWorld.DebugLog("没有击杀不需要处理!")
|
| | | #GameWorld.DebugLog("没有击杀不需要处理主线奖励!")
|
| | | return
|
| | | # 结算经验
|
| | | unXiantaoCntExp = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_UnXiantaoCntExp)
|
| | |
| | | continue
|
| | | itemID = curItem.GetItemTypeID()
|
| | | item = curItem.GetItem()
|
| | | item.SetIsBind(0) # 拾取时重置,取源SingleItem修改不通知
|
| | | itemCount = ItemControler.GetItemCount(curItem)
|
| | | GameWorld.DebugLog("主线物品拾取: itemIndex=%s,itemID=%s,itemCount=%s" % (itemIndex, itemID, itemCount), playerID)
|
| | | if not itemControl.PutInItem(IPY_GameWorld.rptItem, item):
|