From f198885f31c9c7eb19eb28adce562e39e64d581c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 18 七月 2025 16:23:11 +0800 Subject: [PATCH] 121 【武将】武将系统-服务端(属性计算、战斗力计算;新角色初始给默认装备、默认阵容武将;) --- 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