From 35c596a6ed34680d9af09788274051c1c212d4eb Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 07 七月 2025 15:05:03 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(优化战斗武将跟NPC独立处理;去除程序无技能普攻,增加反击普攻;新增回合主动普攻技能功能类型23;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py index 4430e63..deef9bb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py @@ -27,7 +27,6 @@ import IPY_GameWorld import PlayerControl import OperControlManager -import PlayerViewCacheTube import PassiveBuffEffMng import GameWorldProcess import ChNetSendPack @@ -38,7 +37,6 @@ import SkillShell import CommFunc import FBCommon -import PlayerFB import GameMap import FBLogic import GameObj @@ -328,7 +326,6 @@ #ChPlayer.PlayerLogin #PlayerEventCounter.GameServer_InitOK(index, tick) #ChPlayer.LoadMapOK(index, tick) - #GameServerRefresh.GameSever_PlayerInitOK(index, tick) mirrorPlayer.SendToBServerServerInitOK() mirrorPlayer.SetMapLoadOK(True) #将玩家放置在这个地图上 @@ -449,7 +446,7 @@ #}; def OnSycnPlayerPackData(index, clientData, tick): curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index) - PlayerViewCacheTube.UpdateGameServerPlayerCache(curPlayer, tick, forcePackData=True) + #PlayerViewCacheTube.UpdateGameServerPlayerCache(curPlayer, tick, forcePackData=True) return #// B4 11 镜像战斗 #tagCMMirrorFight @@ -562,8 +559,8 @@ return True # 玩家自身需要用镜像的情况 - if isSysbg and playerID and playerID in mirrorIDList: - PlayerViewCacheTube.NormalSyncPackData(curPlayer) + #if isSysbg and playerID and playerID in mirrorIDList: + # PlayerViewCacheTube.NormalSyncPackData(curPlayer) sendMsg = str(sendMsg) GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "ReuestPlayerPackData", sendMsg, len(sendMsg)) -- Gitblit v1.8.0