From 302d2582109d6cdc666306b560f4a842995085de Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 09 十月 2018 19:59:49 +0800
Subject: [PATCH] 3951 【后端】【1.1.0】创角名字长度限制修改

---
 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