From 11c9a3b5846401523e4dafc17f2a074a712730da Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 11 三月 2026 18:27:10 +0800
Subject: [PATCH] 526 【挑战】PVP群英榜-后端(本服群英榜;优化机器人表支持按功能加载不同的机器人;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 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 35f83ff..2a06406 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -23,6 +23,7 @@
import ChItem
import PlayerGMOper
import OperControlManager
+import GameLogic_Qunying
import ShareDefine
import ReadChConfig
import IpyGameDataPY
@@ -30,15 +31,14 @@
import GameMap
import math
import time
-import PetControl
import AICommon
import PlayerSuccess
import PassiveBuffEffMng
-import FunctionNPCCommon
-import PlayerFlashSale
import PlayerBackup
import PlayerOnline
import PlayerGoldRush
+import PlayerTravel
+import PlayerHorse
import PlayerHJG
#---------------------------------------------------------------------
@@ -121,8 +121,6 @@
BaseAttack.Sync_AttackResult(curPlayer, useSkillData)
if useSkillData and useSkillData.GetSkillID() != ChConfig.Def_SkillID_Somersault:
- # 跟随玩家同频率攻击
- PetControl.PetFight(curPlayer, tick)
SummonFollowAtk(curPlayer, tick)
#===========================================================================
# if not result:
@@ -1018,16 +1016,11 @@
#if curPlayerAction == IPY_GameWorld.paPreparing :
# ProcessPlayerPrepareState(curPlayer, tick)
- #PlayerYinji.ProcessPlayerYinji(curPlayer, tick)
-
#刷新组队状态
#ProcessTeamState(curPlayer, tick)
#玩家在线时间刷新
#ProcessPlayer_OnlineTime(curPlayer, tick)
-
- #反外挂验证
- #PlayerAutoCheckOnline.HackDefense(curPlayer, tick)
#恶意攻击时间处理
#AttackCommon.ProcessMaliciousAttackPlayer(curPlayer, tick)
@@ -1036,8 +1029,6 @@
#PlayerActLianqi.OnProcess(curPlayer)
#仙盟攻城战
#PlayerActFamilyGCZ.OnProcess(curPlayer)
- #跨服数据同步,放最后
- #CrossPlayerData.ProcessCrossPlayer(curPlayer, tick)
return
def ProcessPlayerSecond(curPlayer, tick):
@@ -1049,12 +1040,12 @@
#成就
PlayerSuccess.FinishDelayAddSuccessProgress(curPlayer, tick, False)
- #限时抢购
- PlayerFlashSale.ProcessFlashSaleMail(curPlayer, tick)
- #神秘商店刷新
- FunctionNPCCommon.CheckMysticalShopRefresh(curPlayer, tick)
#淘金
PlayerGoldRush.OnProcess(curPlayer)
+ #游历
+ PlayerTravel.OnProcess(curPlayer)
+ #群英榜
+ GameLogic_Qunying.OnProcess(curPlayer)
return
def ProcessPlayerMinute(curPlayer, tick):
@@ -1065,6 +1056,7 @@
curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_Minute, tick)
PlayerHJG.OnMinute(curPlayer)
+ PlayerHorse.OnMinute(curPlayer)
return
# 一定时间自动释放的被动技能
--
Gitblit v1.8.0