From eae877b5a46fd8ae4ba36c80010d93fb6fec4d32 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 25 八月 2025 20:14:14 +0800 Subject: [PATCH] 110 【主界面】仙树升级-服务端(增加每日免费减时支持;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGameWallow.py | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGameWallow.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGameWallow.py index 4f4b5d4..2ed0d0e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGameWallow.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGameWallow.py @@ -16,10 +16,8 @@ import ChConfig import GameWorld -import IPY_GameWorld import ReadChConfig import PlayerControl -import PlayerTJG import ChPyNetSendPack import NetPackCommon #------------------------------------------------------------------------------ @@ -132,10 +130,6 @@ offMin = PlayerControl.GetPlayerLeaveServerMinute(curPlayer) noteOffMin = offMin + curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_Wallow_OfflineTime) - #脱机挂时间,脱机挂时间清除必须在这之后 - tjgtime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDictType_TJGNotify_Time, 0, ChConfig.Def_PDictType_TJGNotify)/60 - noteOffMin += tjgtime - if noteOffMin < Def_Wallow_Offline_HealthTime: #未达到健康离线,记录时间,退出 PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_Wallow_OfflineTime, noteOffMin) @@ -214,8 +208,6 @@ # @param tick 时间戳 # @return none def DoLogic_WallowOnlineTime(curPlayer, tick): - if PlayerTJG.GetIsTJG(curPlayer): - return if not GetIsWallowRole(curPlayer): return -- Gitblit v1.8.0