From e121a0d71f9306c07fd17c5eccbfbcf98e3bb8e7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 26 九月 2022 19:00:31 +0800
Subject: [PATCH] 9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(修改竞猜返利功德点;同步分组玩家信息去重)

---
 ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py                    |    8 +++++---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py |    4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py
index 6ed4e26..69adbd6 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossChampionship.py
@@ -2760,9 +2760,11 @@
                 battleObj = pkZoneMgr.GetBattle(groupMark, battleNum)
                 if not battleObj:
                     continue
-                playerIDList.append(battleObj.playerIDA)
-                playerIDList.append(battleObj.playerIDB)
-                
+                if battleObj.playerIDA not in playerIDList:
+                    playerIDList.append(battleObj.playerIDA)
+                if battleObj.playerIDB not in playerIDList:
+                    playerIDList.append(battleObj.playerIDB)
+                    
     clientPack = ChPyNetSendPack.tagGCCrossChampionshipPKZoneGroupInfo()
     clientPack.ActID = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_CrossChampionshipID)
     clientPack.StateError = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_CrossChampionshipStateError)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py
index 162dbf3..7de1158 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossChampionship.py
@@ -191,10 +191,10 @@
         dataMsg = msgData[1]
         if not isinstance(dataMsg, dict) or "moneyType" not in dataMsg:
             return
-        moneyType = dataMsg["moneyType"]
+        #moneyType = dataMsg["moneyType"]
         guessMoney = dataMsg["guessMoney"]
         infoDict = dataMsg
-        PlayerControl.PayMoney(curPlayer, moneyType, guessMoney, msgType, infoDict)
+        PlayerControl.PayMoney(curPlayer, ShareDefine.TYPE_Price_GongdePoint, guessMoney, msgType, infoDict)
         
     elif msgType == "OfficialWorship":
         dataMsg = msgData[1]

--
Gitblit v1.8.0