From 87b3e6869c68151c87aac48e5f293b846679749e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 14 五月 2019 15:01:33 +0800
Subject: [PATCH] 6778 【后端】【2.0】任务接口开发(灵根品级从1开始)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py |    3 +++
 1 files changed, 3 insertions(+), 0 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..81fe579 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
@@ -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