From 00f4a55d20b44485efb11172bf61263e8cfb57fa Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 12 三月 2025 15:09:14 +0800
Subject: [PATCH] 10416 【英文】【bt】【GM】【砍树】登录基金和幻境基金 完成后可以重置购买(重置关联的充值ID)
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
index f3f8f5d..6be7dd4 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
@@ -28,6 +28,7 @@
import PlayerFamily
import PyDataManager
import GameXiangong
+import GameWorship
def OnActStart(actNum):
## 活动开启
@@ -270,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
@@ -285,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
@@ -466,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"]
@@ -595,6 +600,8 @@
if not orderIpyDataList:
return
+ worshipType = ShareDefine.Def_WorshipType_CrossBossTrial
+ syncNewWorshipList = []
syncNewXiangongDict = {}
rankPre = 0
billboardIndex = 0
@@ -637,6 +644,8 @@
billboardIndex += 1
GameXiangong.AddXiangongPlayer(xiangongID, playerID, serverIDRangeList, playerRank, syncNewXiangongDict)
+ GameWorship.AddWorshipPlayer(worshipType, playerRank, playerID, serverIDRangeList, syncList=syncNewWorshipList)
+ GameWorship.SendNewWorshipPlayer(syncNewWorshipList)
GameXiangong.SendNewXiangongPlayerToClientServer(syncNewXiangongDict)
return
--
Gitblit v1.8.0