| | |
| | | PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_XMZZ, 1)
|
| | | msgInfo = str([1]) # 是否刚开始
|
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(curPlayer.GetID(), 0, 0, 'XMZZStartFight', msgInfo, len(msgInfo))
|
| | | curPlayer.SetHP(curPlayer.GetMaxHP())
|
| | | GameObj.SetHPFull(curPlayer)
|
| | | skillManager = curPlayer.GetSkillManager()
|
| | | for i in range(0, skillManager.GetSkillCount()):
|
| | | curSkill = skillManager.GetSkillByIndex(i)
|
| | |
| | | curPlayer.Sync_TimeTick(IPY_GameWorld.tttTowerTake, 0, remainTime * 1000, True)
|
| | | DoFBHelp(curPlayer, tick)
|
| | | # fbStep = gameFB.GetFBStep()
|
| | | PlayerControl.DelLimitSuperBuff(curPlayer, tick)
|
| | | return
|
| | |
|
| | | ##---副本总逻辑计时器---
|
| | |
| | | lastStartTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_XMZZLastStartTime)
|
| | | curTime = int(time.time())
|
| | | costTime = (curTime-lastStartTime)*1000
|
| | | overDict = {FBCommon.Over_score:addScore, FBCommon.Over_extrScore:updExtraScore,
|
| | | overDict = {FBCommon.Over_score:updScore, FBCommon.Over_extrScore:updExtraScore,
|
| | | FBCommon.Over_extraExp:updExtraExp, FBCommon.Over_extraExpPoint:updExtraExpPoint,
|
| | | FBCommon.Over_exp:exp, FBCommon.Over_expPoint:expPoint, FBCommon.Over_costTime:costTime,
|
| | | FBCommon.Over_exp:updExp, FBCommon.Over_expPoint:updExpPoint, FBCommon.Over_costTime:costTime,
|
| | | 'conWinCnt':conWinCnt}
|
| | | FBCommon.NotifyFBOver(curPlayer, ChConfig.Def_FBMapID_XMZZ, 0, isWin, overDict)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_XMZZLastStartTime, 0)
|