From 10c4b1cbe71bb18c3ec07b7cfb8e9e1375bbf8a1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 25 七月 2024 14:55:32 +0800
Subject: [PATCH] 10216 【越南】【港台】【主干】【砍树】古神战场修改(信息提示CrossBattlefieldSysCallBuy增加阵营参数)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
index 0297b9e..34bcf6e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
@@ -663,7 +663,8 @@
return playerID in PyGameData.g_crossBattlefieldSysCallBuyList
def OnPlayerSysCallBuy(curPlayer):
- PlayerControl.FBNotify("CrossBattlefieldSysCallBuy", [curPlayer.GetPlayerName()])
+ faction = curPlayer.GetFaction()
+ PlayerControl.FBNotify("CrossBattlefieldSysCallBuy", [faction, curPlayer.GetPlayerName()])
NotifyBattlefieldHelp(True, curPlayer)
return
--
Gitblit v1.8.0