From 5269e572b892f84ef0ce0f8b9bf1f8e9aee84ca2 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 06 十一月 2024 11:17:39 +0800
Subject: [PATCH] 10287 【英文】1折活动(修复不同折扣下代币支付及异常充值下自动转化代币数值均为原价的bug;)
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActHorsePetTrain.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActHorsePetTrain.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActHorsePetTrain.py
index 52d56cc..f4f4961 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActHorsePetTrain.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActHorsePetTrain.py
@@ -26,6 +26,7 @@
import PyDataManager
import CrossRealmMsg
import GameXiangong
+import GameWorship
import GameWorld
def OnActStart(actNum, ipyData):
@@ -343,6 +344,8 @@
if not orderIpyDataList:
return
+ worshipType = ShareDefine.Def_WorshipType_CrossHorsePetTrain
+ syncNewWorshipList = []
syncNewXiangongDict = {}
rankPre = 0
billboardIndex = 0
@@ -385,6 +388,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