From fd38f455b4220f5852245903bb4e364e5927e174 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 18 六月 2019 20:02:54 +0800
Subject: [PATCH] 7195 【后端】【2.0】仙盟联赛修改(修复仙盟分组深拷贝报错)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py
index d837829..e021870 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py
@@ -27,7 +27,7 @@
 ## 添加BUFF后的逻辑
 #  @param None
 #  @return None
-def DoAddBuffOver(curObj, addBuff, curEffect, tick):
+def DoAddBuffOver(curObj, addBuff, curEffect, tick, buffOwner):
     stateType = curEffect.GetEffectValue(0)
     GameObj.SetPyPlayerState(curObj, stateType, 1)
     
@@ -66,6 +66,9 @@
 def CanDelStateEffect(curObj, effectID, stateType):
     cnt = 0
     for buffType in xrange(IPY_GameWorld.bfBuff, IPY_GameWorld.btBufMax):
+        if buffType in ChConfig.Def_BuffType_OnlyPlayer:
+            continue
+        
         buffTuple = SkillCommon.GetBuffManagerByBuffType(curObj, buffType)
         #通过类型获取目标的buff管理器为空,则跳出
         if buffTuple == ():

--
Gitblit v1.8.0