From 1f9331c6be7af37d25348372281449bc120b5974 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 11 十二月 2024 14:26:36 +0800
Subject: [PATCH] 10229 【BT】【英文】【越南】【砍树】古神战场修改(功能队伍解散改为每周结算时同步解散)
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py
index 529b514..c3e7baa 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py
@@ -253,6 +253,8 @@
billboardObj.ClearData()
+ # 清空队伍
+ PlayerFuncTeam.DelTeamByFunc(ChConfig.Def_FBMapID_CrossBattlefield)
return
def GetCrossBattlefieldState():
@@ -472,9 +474,9 @@
GameWorld.Log(" 无召集的场次不开分区战场! zoneID=%s" % (zoneID))
# 关闭
- if not battlefieldState and beforeState != battlefieldState:
- # 活动结束清空队伍
- PlayerFuncTeam.DelTeamByFunc(ChConfig.Def_FBMapID_CrossBattlefield)
+ #if not battlefieldState and beforeState != battlefieldState:
+ # # 活动结束清空队伍
+ # PlayerFuncTeam.DelTeamByFunc(ChConfig.Def_FBMapID_CrossBattlefield)
# 同步子服务器
dataMsg = {"battlefieldState":battlefieldState}
--
Gitblit v1.8.0