hxp
2025-05-26 77b0f4f5acec30f9be8c7eeadfc25d9641ca26f3
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