From 88a9eda1278acaa0b0f66b35e2319d59a3e38eca Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 29 八月 2025 16:03:35 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(修复主线战斗中重登时会自动重新开始战斗bug;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py |   31 +++----------------------------
 1 files changed, 3 insertions(+), 28 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
index 5cc7d0c..2f28b04 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -18,45 +18,29 @@
 import SkillShell
 import BuffSkill
 import PlayerControl
-import ChEquip
 import SkillCommon
 import FBLogic
-import AttackCommon
 import ChItem
 import PlayerGMOper
-import ItemCommon
 import OperControlManager
 import ShareDefine
-import PlayerAutoCheckOnline
-import PlayerGameWallow
 import ReadChConfig
 import PlayerDienstgrad
-import PlayerVip
 import IpyGameDataPY
-import PlayerFB
 import GameObj
 import GameMap
 import math
 import time
 import PetControl
-import ItemControler
-import PlayerGuaji
 import AICommon
 import PlayerSuccess
-import CrossPlayerData
 import PassiveBuffEffMng
 import FunctionNPCCommon
 import FormulaControl
-import PlayerGoldGift
-import PlayerActLianqi
-import PlayerActFamilyGCZ
 import PlayerFlashSale
 import PlayerChatBox
 import PlayerFace
-import PlayerYinji
-import PlayerActivity
 import PlayerBackup
-import MirrorAttack
 import PlayerOnline
 
 #---------------------------------------------------------------------
@@ -786,7 +770,7 @@
     curPlayer.SetDict(ChConfig.Def_PlayerKey_SitForZhenQi, tick)
     
     vipLV = curPlayer.GetVIPLv()
-    vipRate = ShareDefine.Def_MaxRateValue#PlayerVip.GetVIPMuseSitRate(vipLV)
+    vipRate = ShareDefine.Def_MaxRateValue
     
     #取得人物当前经验
     curTotalExp = PlayerControl.GetPlayerTotalExp(curPlayer) # 超过20亿支持,功能待定
@@ -802,7 +786,7 @@
                              isSysHint=False)
         
         if vipLV == 0:
-            canVipRate = ShareDefine.Def_MaxRateValue#PlayerVip.GetVIPMuseSitRate(ShareDefine.Def_VIPType_Platina)
+            canVipRate = ShareDefine.Def_MaxRateValue
             canVipExpValue = int(addExpValue * canVipRate / float(ShareDefine.Def_MaxRateValue))
             #GeRen_chenxin_684833:获得经验%s点,成为VIP经验%s
             PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_684833", [addExpValue, canVipExpValue])
@@ -882,11 +866,8 @@
 # @remarks 刷新玩家在线时间
 def ProcessPlayer_OnlineTime(curPlayer, tick):
     if not CommonCheckTick(curPlayer, tick, ChConfig.TYPE_Player_Tick_PlayerOnlineTime):
-        return
+        return 
     
-    #处理防沉迷在线时间,
-    PlayerGameWallow.DoLogic_WallowOnlineTime(curPlayer, tick)    
-
     return
 
     
@@ -1009,9 +990,6 @@
     #定时备档
     PlayerBackup.CheckPlayerBackup(curPlayer)
     
-    #玩家镜像战斗AI
-    #MirrorAttack.ProcessPlayerMirrorAI(curPlayer, tick)
-    
     #被GM封状态响应
     ProcessGMOperLogic(curPlayer, tick)
     
@@ -1054,9 +1032,6 @@
     
     #副本相关时间处理
     #PlayerFB.DoPlayerFBTimeProcess(curPlayer, tick)
-    
-    #挂机收益
-    #PlayerGuaji.ProcessGuaji(curPlayer)
     
     #恶意攻击时间处理
     #AttackCommon.ProcessMaliciousAttackPlayer(curPlayer, tick)

--
Gitblit v1.8.0