From 532ee8a00dac025085c781f6d62f7d12072ea6b0 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 04 三月 2020 20:18:43 +0800 Subject: [PATCH] 8397 【开发】个人boss新增评级 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py index 78d47d1..e1ceb25 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py @@ -508,6 +508,7 @@ PlayerControl.SetPlayerSightLevel(curPlayer, curPlayer.GetID()) curPlayer.SetDict(ChConfig.Def_PlayerKey_ClientCustomScene, 1) # 由于前端不一定有发mapID,所以这里额外记录这个状态,不能直接用mapID判断 + curPlayer.SetDict(ChConfig.Def_PlayerKey_ClientCustomSceneStepTick, tick) PlayerControl.SetCustomMap(curPlayer, mapID, lineID) NPCCommon.ClearPriWoodPile(curPlayer) GameWorld.Log("玩家开始自定义场景!mapID=%s,lineID=%s" % (mapID, lineID), playerID) @@ -539,6 +540,8 @@ mapID = PlayerControl.GetCustomMapID(curPlayer) lineID = PlayerControl.GetCustomLineID(curPlayer) curPlayer.SetDict(ChConfig.Def_PlayerKey_ClientCustomScene, 0) + curPlayer.SetDict(ChConfig.Def_PlayerKey_ClientCustomSceneStepTick, 0) + curPlayer.SetDict(ChConfig.Def_PlayerKey_ClientCustomSceneGrade, 0) PlayerControl.SetCustomMap(curPlayer, 0, 0) if mapID and FBCommon.GetCustomMapStep(curPlayer, mapID, lineID) != ChConfig.CustomMapStep_Over: FBCommon.SetCustomMapStep(curPlayer, mapID, lineID, ChConfig.CustomMapStep_Over) -- Gitblit v1.8.0