From a6dea7e613db9663d62fac3028bc04842f27282f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 20 九月 2018 15:24:34 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py
index a118afe..f39b17a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py
@@ -380,7 +380,8 @@
     lineID = FBCommon.GetFBPropertyMark()
     leaveTick = invadeCfg[Def_Time_Leave] * 1000
     overDict = {FBCommon.Over_costTime:costTime,FBCommon.Over_grade:curStar, FBCommon.Over_leaderID:leaderPlayerID}
-    for i in xrange(copyMapPlayerManager.GetPlayerCount()):
+    playerCnt = copyMapPlayerManager.GetPlayerCount()
+    for i in xrange(playerCnt):
         
         curPlayer = copyMapPlayerManager.GetPlayerByIndex(i)
         
@@ -408,7 +409,8 @@
             if realmIpyData and realmIpyData.GetIsBigRealm():
                 #成就
                 PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_DujieFBHelpPass, 1)
-        
+            if playerCnt > 1: #多人组队渡劫
+                EventShell.EventRespons_FBEvent(curPlayer, 'teamdujie')
     
     return
 

--
Gitblit v1.8.0