| | |
| | | notify_tick = ZMSLCfg[Def_FightTime] * 1000 - (tick - GameWorld.GetGameFB().GetFBStepTick())
|
| | | curPlayer.Sync_TimeTick(IPY_GameWorld.tttTowerTake, 0, max(notify_tick, 0), True)
|
| | |
|
| | | __UpdZMSLFBStar(tick, True, curPlayer)
|
| | | __UpdZMSLFBStar(tick, True, curPlayer)
|
| | | DoFBHelp(curPlayer, tick)
|
| | | return
|
| | |
|
| | |
| | | if fbStep == FB_Step_Prepare:
|
| | | __DoLogic_FB_Prepare(tick)
|
| | | elif fbStep == FB_Step_Fight:
|
| | | __ProcessOverFight(tick)
|
| | | __UpdZMSLFBStar(tick)
|
| | | __ProcessOverFight(tick)
|
| | | elif fbStep == FB_Step_PickItem:
|
| | | __DoLogic_FB_PickItem(tick)
|
| | | elif fbStep == FB_Step_Over:
|
| | |
| | | costTime = tick - GameWorld.GetGameFB().GetFBStepTick()
|
| | | gameFB = GameWorld.GetGameFB()
|
| | | gameFB.SetGameFBDict(ZMSL_CostTime, costTime)
|
| | | GameWorld.DebugLog("__DoZMSLOver isPass=%s,killNPCID=%s" % (isPass, killNPCID))
|
| | | star = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.Def_FB_Grade)
|
| | | GameWorld.DebugLog("__DoZMSLOver isPass=%s,killNPCID=%s,star=%s" % (isPass, killNPCID, star))
|
| | | #===============================================================================================
|
| | | # canDropPlayerList = GetCanDropPlayerList()
|
| | | # if isPass and canDropPlayerList:
|
| | |
| | | mapID = GameWorld.GetMap().GetMapID()
|
| | | mapID = FBCommon.GetRecordMapID(mapID)
|
| | | lineID = FBCommon.GetFBPropertyMark()
|
| | | star = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.Def_FB_Grade)
|
| | | |
| | | #awardDict = FBCommon.GetFBLineReward(mapID, lineID)
|
| | | #prizeItemList = awardDict.get(star, [])
|
| | | overDict = {FBCommon.Over_grade:star,FBCommon.Over_dataMapID:mapID,FBCommon.Over_isPass:int(isPass), FBCommon.Over_costTime:costTime}
|