From 6844bbc5174e39138047b606ac82d74d6e82d91c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 28 十一月 2018 17:39:34 +0800
Subject: [PATCH] 4762 【后端】无队伍或队伍只有一人时无法进入组队副本助战;(可匹配,有次数时可单人进入)       混乱妖域增加同步是否助战及助战次数;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 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 2c13dd3..50ce377 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py
@@ -121,9 +121,10 @@
     playerID = curPackData.PlayerID
     teamID = curPackData.TeamID
     teamLV = curPackData.TeamLV
+    memCnt = curPackData.MemCnt
     dataDict = {"playerID":playerID, "teamLV":teamLV}
     
-    GameWorld.DebugLog("GameServer_TeamInfo playerID=%s,teamID=%s,teamLV=%s" % (playerID, teamID, teamLV), playerID)
+    GameWorld.DebugLog("GameServer_TeamInfo playerID=%s,teamID=%s,teamLV=%s,memCnt=%s" % (playerID, teamID, teamLV, memCnt), playerID)
     curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(playerID)
     if not curPlayer or curPlayer.IsEmpty():
         DR_Team("TeamInfo", teamID, dataDict, "curPlayer is None or empty")
@@ -138,6 +139,8 @@
     
     RefreshPlayerTeamID(curPlayer, teamID, teamLV, tick)
     
+    curPlayer.SetDict(ChConfig.Def_PlayerKey_TeamMemCount, memCnt)
+    
     sameMapMemCount = 0 # 同地图队员数
     sameMapVIPLV = 0 # 同地图VIP加成等级
     mapID = curPlayer.GetMapID()

--
Gitblit v1.8.0