From 71defd3b69968cd61257bc96ccf04eb710dc68ca Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 12 十一月 2018 20:03:15 +0800
Subject: [PATCH] 2250 【1.2】队伍分线成员管理异常;(添加队伍变更跟踪流向)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 4ee7cda..2b811f9 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -5098,6 +5098,7 @@
     index = 0
     buffSkillIDList = []
     
+    passiveEff = PassiveBuffEffMng.GetPassiveEffManager().GetPassiveEff(curPlayer)
     while index < buffState.GetBuffCount():
         curBuff = buffState.GetBuff(index)
         #异常
@@ -5112,10 +5113,16 @@
             continue
         
         #BuffSkill.DoBuffDisApper(curPlayer, curBuff, tick)
-        buffSkillIDList.append([curBuff.GetSkill().GetSkillID(), curBuff.GetOwnerID(), curBuff.GetOwnerType()])
+        #buffSkillIDList.append([curBuff.GetSkill().GetSkillID(), curBuff.GetOwnerID(), curBuff.GetOwnerType()])
+        buffSkillIDList.append(curBuff.GetSkill().GetSkillID())
+        #GameWorld.DebugLog("死亡清理-----%s"%curBuff.GetSkill().GetSkillID())
+        if passiveEff:
+            passiveEff.DelBuffInfo(curBuff.GetSkill())
+            
         #删除这个buff
         buffState.DeleteBuffByIndex(index)
-    
+        
+        
     SkillShell.ClearBuffEffectBySkillIDList(curPlayer, buffState, buffSkillIDList)
     return
 

--
Gitblit v1.8.0