ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4005.py
@@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: GBK -*- # # @todo: 增加所有攻击伤害 含普攻 # @todo: 增加所有攻击伤害 含普攻 附加血量判断 --(PVP)主角生命值低于30%时,所有技能伤害再增加60% # # @author: Alee # @date 2018-1-9 下午09:39:37 @@ -18,6 +18,13 @@ def CheckCanHappen(attacker, defender, effect, curSkill): # 未配置不验证血量百分比 hpPer = effect.GetEffectValue(2) if hpPer: if GameObj.GetHP(attacker)*ChConfig.Def_MaxRateValue/GameObj.GetMaxHP(attacker) >= hpPer: return False return GameWorld.CanHappen(effect.GetEffectValue(1))