| | |
| | | (
|
| | | Def_BossTime, #BOSS时间
|
| | | Def_LeaveTime, #离开时间
|
| | | ) = range(2)
|
| | | Def_HPSpeed, #掉血速度公式
|
| | | ) = range(3)
|
| | |
|
| | | #当前副本地图的状态
|
| | | (
|
| | |
| | | FBCommon.SetFBStep(FB_Step_Fighting, tick)
|
| | |
|
| | | EventReport.WriteEvent_FB(curPlayer, ChConfig.Def_FBMapID_AllFamilyBoss, 0, ChConfig.CME_Log_Start)
|
| | | if fbStep >= FB_Step_Over:
|
| | | PlayerControl.PlayerLeaveFB(curPlayer)
|
| | | return
|
| | | if fbStep >= FB_Step_Over:
|
| | | PlayerControl.PlayerLeaveFB(curPlayer)
|
| | | return
|
| | |
|
| | | if familyID not in PyGameData.g_allfamilyBossDict:
|
| | | PyGameData.g_allfamilyBossDict[familyID] = [curPlayer.GetFamilyName(), 0, [playerID]]
|
| | |
| | | lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
|
| | | if lineID < 0:
|
| | | return
|
| | |
|
| | | curSpeed = int(min(1 + 0.08 * (playerCnt - 1), 1.8) * 1000)
|
| | | |
| | | |
| | | curSpeed = eval(FBCommon.GetFBLineStepTime(ChConfig.Def_FBMapID_AllFamilyBoss, lineID)[Def_HPSpeed])
|
| | | gameWorld.SetGameWorldDict(FBDict_Speed, curSpeed)
|
| | | if not gameWorld.GetGameWorldDictByKey(FBDict_IsReduceing):
|
| | | return
|