| | |
| | | import PlayerSuccess
|
| | | import ShareDefine
|
| | | import PlayerTask
|
| | | import PlayerHJG
|
| | | import ChConfig
|
| | |
|
| | | def OnTurnFightRequest(curPlayer, mapID, funcLineID, tagType, tagID, valueList):
|
| | |
| | | itemList += [[exItemID, exItemCount, isBind]] # 标记是红颜效果额外获得的
|
| | | GameWorld.DebugLog("红颜额外增加扫荡物品奖励: exItemID=%s, exItemCount=%s, itemList=%s" % (exItemID, exItemCount, itemList))
|
| | |
|
| | | isBind = ItemControler.GetIsBindValue(srcSign=ChConfig.ItemSrcSign_TitleEff)
|
| | | exItemCount, exItemID = PlayerHJG.GetTitleEffInfo(curPlayer, PlayerHJG.TitleEff_FBZhanchuiItemEx) # 扫荡额外物品奖励
|
| | | if exItemCount and exItemID:
|
| | | itemList += [[exItemID, exItemCount, isBind]] # 标记是称号效果额外获得的
|
| | | GameWorld.DebugLog("称号额外增加扫荡物品奖励: exItemID=%s, exItemCount=%s, itemList=%s" % (exItemID, exItemCount, itemList))
|
| | | |
| | | ItemControler.GivePlayerItemOrMail(curPlayer, itemList, event=["Zhanchui", False, {}], isNotifyAward=False)
|
| | |
|
| | | isPass = 1
|