From 2a7ed58c22dc878e52598fca4239f14f7cdf8076 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 25 七月 2024 14:55:31 +0800
Subject: [PATCH] 10216 【越南】【港台】【主干】【砍树】古神战场修改(系统场次战场中可购买召集,继承原召集场次效果)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CrossBattlefield.py |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CrossBattlefield.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CrossBattlefield.py
index b25ab78..e50f94c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CrossBattlefield.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CrossBattlefield.py
@@ -18,6 +18,8 @@
 import GameWorld
 import ChConfig
 import PlayerCrossBattlefield
+import GameLogic_CrossBattlefield
+import PyGameData
 
 #------------------------------------------------------------------------------ 
 ## 执行逻辑
@@ -28,6 +30,15 @@
 #  @return "True" or "False" or ""
 #  @remarks 函数详细说明.
 def DoLogic(query_Type, query_ID, packCMDList, tick):
+    GameWorld.DebugLog("GY_Query_CrossBattlefield DoLogic %s" % str(packCMDList), query_ID)
+    curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
+    if not curPlayer or curPlayer.IsEmpty():
+        return
+    
+    msgType = packCMDList[0]
+    if msgType == "SysCallBuy":
+        PyGameData.g_crossBattlefieldSysCallBuyList = packCMDList[1]
+        GameLogic_CrossBattlefield.OnPlayerSysCallBuy(curPlayer)
     return
 
 #------------------------------------------------------------------------------ 

--
Gitblit v1.8.0