| | |
| | | import ShareDefine
|
| | | import ItemCommon
|
| | | import PlayerSuccess
|
| | | import FBHelpBattle
|
| | | import EventReport
|
| | |
|
| | | import math
|
| | |
| | | FBCommon.Notify_FB_Over(curPlayer, {FBCommon.Over_isPass: 0})
|
| | | continue
|
| | | overDict = {FBCommon.Over_grade:star,FBCommon.Over_dataMapID:mapID,FBCommon.Over_isPass:int(isPass), FBCommon.Over_costTime:costTime}
|
| | | #增加助战积分
|
| | | isHelp = False
|
| | | if FBCommon.GetIsHelpFight(curPlayer):
|
| | | FBCommon.AddFBHelpPoint(curPlayer, mapID, 1)
|
| | | isHelp = True
|
| | | else:
|
| | | #给奖励
|
| | | needSpace = len(prizeItemList)
|
| | |
| | | expPoint = addExp / ChConfig.Def_PerPointValue
|
| | | overDict[FBCommon.Over_exp] = exp
|
| | | overDict[FBCommon.Over_expPoint] = expPoint
|
| | |
|
| | | |
| | | addXianyuanCoin, reason = FBHelpBattle.DoFBAddXianyuanCoin(curPlayer, mapID, 0, isHelp)
|
| | | overDict[FBCommon.Over_xianyuanCoin] = [addXianyuanCoin, reason]
|
| | | |
| | | FBCommon.Notify_FB_Over(curPlayer, overDict)
|
| | | #成就
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_ChaosDemon, 1, [playerCount, star])
|