From 5bd5c3fa2b8a50fd352a895c3e87a3254c705ee7 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 26 六月 2019 10:35:30 +0800
Subject: [PATCH] 4254 【BUG】【2.0】【主干】封魔坛、世界Boss资源找回次数错误
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py
index 50ce377..ccd03a4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py
@@ -68,6 +68,15 @@
#玩家刚登录, 什么也不做, 等待GameServer刷新自己
return
+def OnPlayerLoginCrossServer(curPlayer):
+ ## 登录跨服服务器处理
+
+ if curPlayer.GetTeamID():
+ curPlayer.SetTeamID(0)
+ GameWorld.DebugLog("登录跨服服务器重置队伍ID!")
+
+ return
+
## 游戏服务器刷新队伍(封包参数)
# @param index 玩家索引
# @param tick 当前时间
--
Gitblit v1.8.0