hxp
2026-03-12 902447caa0c5c7b31dd3add5cb69053915f18fca
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,28 +1016,19 @@
    #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)
    #活跃放置
    #PlayerActivity.ProcessActivityPlace(curPlayer)
    #炼器
    #PlayerActLianqi.OnProcess(curPlayer)
    #仙盟攻城战
    #PlayerActFamilyGCZ.OnProcess(curPlayer)
    #跨服数据同步,放最后
    #CrossPlayerData.ProcessCrossPlayer(curPlayer, tick)
    return
def ProcessPlayerSecond(curPlayer, tick):
@@ -1051,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):
@@ -1067,6 +1056,7 @@
    curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_Minute, tick)
    
    PlayerHJG.OnMinute(curPlayer)
    PlayerHorse.OnMinute(curPlayer)
    return
# 一定时间自动释放的被动技能