From f6107ac548fbe87eedd807f25b0b5874e729b77d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期日, 23 六月 2019 15:33:29 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 - 攻击类技能可以对自己使用

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_4012.py |    4 ++--
 1 files changed, 2 insertions(+), 2 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 d3f76e7..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,7 +66,7 @@
 def CanDelStateEffect(curObj, effectID, stateType):
     cnt = 0
     for buffType in xrange(IPY_GameWorld.bfBuff, IPY_GameWorld.btBufMax):
-        if buffType in [IPY_GameWorld.bfIncBuff, IPY_GameWorld.btPassiveBuf, IPY_GameWorld.bfEquipBuff, IPY_GameWorld.bfMapBuff]:
+        if buffType in ChConfig.Def_BuffType_OnlyPlayer:
             continue
         
         buffTuple = SkillCommon.GetBuffManagerByBuffType(curObj, buffType)

--
Gitblit v1.8.0