xdh
2019-05-27 65a4c2029af3f70ce484a2eec167c50f227d7a5c
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 == ():