hxp
2019-03-19 922b9a9139f9c86cc48b14668f05615a6ea5fd21
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4066.py
@@ -14,9 +14,17 @@
import ChConfig
import GameWorld
import GameObj
import IPY_GameWorld
def CheckCanHappen(attacker, defender, effect, curSkill):
    if not defender:
        return False
    if defender.GetGameObjType() != IPY_GameWorld.gotPlayer:
        return False
    if attacker.GetGameObjType() != IPY_GameWorld.gotPlayer:
        return False
    attrLV = attacker.NomalDictGetProperty(ChConfig.Def_PDict_GodWeaponLV % effect.GetEffectValue(0))
    tagAttrLV = defender.NomalDictGetProperty(ChConfig.Def_PDict_GodWeaponLV % effect.GetEffectValue(0))