hxp
2024-11-18 db72112f4cb48a5ab83cde13b80d21fcaf429d7f
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