ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4046.py
@@ -12,12 +12,14 @@
#---------------------------------------------------------------------
import ChConfig
import GameWorld
import GameObj
import ShareDefine
def CheckCanHappen(attacker, defender, effect, curSkill):
    hurtValue = attacker.GetDictByKey(ChConfig.Def_PlayerKey_curHurtValue)
    hurtValueEx = attacker.GetDictByKey(ChConfig.Def_PlayerKey_curHurtValueEx)
    hurtValue = hurtValueEx * ShareDefine.Def_PerPointValue + hurtValue
    
    if hurtValue < GameObj.GetMaxHP(attacker)*effect.GetEffectValue(0)*1.0/ChConfig.Def_MaxRateValue:
        return False