| | |
| | | import ItemCommon
|
| | | import FormulaControl
|
| | | import NPCCustomRefresh
|
| | | import PlayerWeekParty
|
| | | import PlayerSuccess
|
| | | import PyGameData
|
| | | import EventReport
|
| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_XMZZLastStartTime, curtime)
|
| | | #FBCommon.SetFBStep(FB_Step_Prepare, tick)
|
| | | #PrepareXMZZPK(curPlayer, tick)
|
| | | |
| | | 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())
|
| | |
| | | # @return 返回值无意义
|
| | | # @remarks 玩家主动离开副本.
|
| | | def DoPlayerDead(curPlayer):
|
| | | if GameWorld.GetGameFB().GetFBStep() != FB_Step_Fighting:
|
| | | return
|
| | | # if GameWorld.GetGameFB().GetFBStep() != FB_Step_Fighting:
|
| | | # return
|
| | |
|
| | | HPPer = __GetHPPer(curPlayer)
|
| | | __SendPKResult(curPlayer, 0, 1, HPPer)
|