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/Player/PlayerActBossTrial.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
index 17ac49a..6be7dd4 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
@@ -271,6 +271,8 @@
accID = curPlayer.GetAccID()
playerName = curPlayer.GetName()
job = curPlayer.GetJob()
+ face = curPlayer.GetFace()
+ facePic = curPlayer.GetFacePic()
realmLV = curPlayer.GetOfficialRank()
familyID = curPlayer.GetFamilyID()
submitCount, updSubmitCount = dataMsg
@@ -286,7 +288,7 @@
#同步跨服
playerInfo = {"playerID":playerID, "playerName":playerName, "accID":accID, "job":job, "realmLV":realmLV,
- "playerSubmitTotal":updSubmitCount}
+ "playerSubmitTotal":updSubmitCount, "face":face, "facePic":facePic}
SyncBossTrialSubmitToCrossServer(curPlayer, playerInfo, familyBillInfo)
return
@@ -467,13 +469,15 @@
accID = playerInfo["accID"]
realmLV = playerInfo["realmLV"]
playerSubmitTotal = playerInfo["playerSubmitTotal"]
+ face = playerInfo.get("face", 0)
+ facePic = playerInfo.get("facePic", 0)
groupValue1 = zoneID
if playerSubmitTotal >= personlLimit:
name2, type2, value1, value2 = accID, job, realmLV, 0
CrossBillboard.UpdCrossBillboard(ShareDefine.Def_CBT_BossTrialSubmit, groupValue1, playerID, playerName,
- name2, type2, value1, value2, playerSubmitTotal)
+ name2, type2, value1, value2, playerSubmitTotal, value3=face, value4=facePic)
if familyInfo and familyInfo.get("familySubmitTotal", 0) >= familyLimit:
familySubmitTotal = familyInfo["familySubmitTotal"]
--
Gitblit v1.8.0