From a98e28b6487ea5634459d3e425124de6df143b2d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 19 三月 2025 14:21:01 +0800
Subject: [PATCH] 10263 【英文】【BT】【GM】后端支持NPC仿真实玩家战斗和快速战斗(触发被动死循环防范修改;)
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py
index 294786f..fceab63 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py
@@ -353,19 +353,6 @@
if not obj or not hasattr(obj, "playerName"):
return
- packDataObj = PyDataManager.GetDBPlayerPackDataManager().GetPlayerPackObj(playerID)
- # 如果有打包数据,以打包数据为准
- if packDataObj:
- obj.accID = packDataObj.accID
- obj.playerName = packDataObj.playerName
- obj.job = packDataObj.job
- obj.lv = packDataObj.lv
- obj.fightPower = packDataObj.fightPower
- obj.realmLV = packDataObj.realmLV
- obj.face = packDataObj.face
- obj.facePic = packDataObj.facePic
- return
-
if playerID < 10000:
if obj.playerName:
return
@@ -3033,6 +3020,7 @@
playerPack.RealmLV = batPlayer.realmLV
playerPack.Face = batPlayer.face
playerPack.FacePic = batPlayer.facePic
+ playerPack.ServerID = GameWorld.GetAccIDServerID(batPlayer.accID)
clientPack.PlayerList.append(playerPack)
clientPack.PlayerCount = len(clientPack.PlayerList)
--
Gitblit v1.8.0