|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def OnClientEndFB(curPlayer, mapID, lineID, dataList): | 
|---|
|  |  |  | #客户端副本发送结束 | 
|---|
|  |  |  | if PlayerControl.GetCustomMapID(curPlayer) != mapID: | 
|---|
|  |  |  | return | 
|---|
|  |  |  | hasEnter = GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, False, | 
|---|
|  |  |  | [mapID]) | 
|---|
|  |  |  | if hasEnter: | 
|---|
|  |  |  | return | 
|---|
|  |  |  | GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, 1, False, [mapID]) | 
|---|
|  |  |  | itemID, giveExp = FBCommon.GetFBLineReward(mapID, 0) | 
|---|
|  |  |  | # | 
|---|
|  |  |  | overDict = {} | 
|---|
|  |  |  | ItemControler.GivePlayerItem(curPlayer, itemID, 1, 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere]) | 
|---|
|  |  |  | ItemControler.GivePlayerItemOrMail(curPlayer, [[itemID, 1, 0]]) | 
|---|
|  |  |  | if giveExp: | 
|---|
|  |  |  | PlayerControl.PlayerControl(curPlayer).AddExp(giveExp) | 
|---|
|  |  |  | overDict[FBCommon.Over_exp] = giveExp | 
|---|
|  |  |  | if itemID: | 
|---|
|  |  |  | overDict[FBCommon.Over_itemInfo] = FBCommon.GetJsonItemList([itemID]) | 
|---|
|  |  |  | GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, 1, False, [mapID]) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | FBCommon.NotifyFBOver(curPlayer,mapID,lineID,1,overDict) | 
|---|
|  |  |  | EventShell.EventRespons_FBEvent(curPlayer, "guardfbpass") | 
|---|
|  |  |  | PlayerControl.SetCustomMap(curPlayer, 0, 0) | 
|---|