From 77b0f4f5acec30f9be8c7eeadfc25d9641ca26f3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 26 五月 2025 11:46:13 +0800
Subject: [PATCH] 16 卡牌服务端(删除脱机挂)

---
 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