From 999d67cffaf12233b98103b513309d5a3a8b6311 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 15 十一月 2018 16:17:48 +0800 Subject: [PATCH] 2357 【主干】仙盟boss被击杀后,其他玩家进入副本,评级显示错误 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py index 6454c29..0dccd66 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py @@ -67,6 +67,15 @@ ] Def_EatSpace = 5 # 低于X格自动吞噬 + + +def DoTJGOpen(curPlayer): + ##脱机挂功能开启 赠送脱机时间 + addTime = IpyGameDataPY.GetFuncCfg('TJGGiftTime') + AddTJGTime(curPlayer, addTime) + GameWorld.DebugLog('脱机挂功能开启 赠送脱机时间 %s'%addTime, curPlayer.GetID()) + return + #=============================================================================== # //B2 01 脱机挂状态 # tagCMLoginState # struct tagCMLoginState @@ -177,10 +186,6 @@ curPlayer.SetSight(min(ChConfig.Def_PlayerSight_Default, clientData.Sight)) GameWorld.DebugLog("OnSightZoom:%s"%clientData.Sight) - # 脱机玩家过多,需要隐身一部分 - if curPlayer.GetLV() < 190: - if random.randint(0, 2) != 1: - curPlayer.SetVisible(False) return # 需要处理的点,防沉迷 -- Gitblit v1.8.0