From 20f6249c88812b2c00469e86d3adb2dfb4cd5d5b Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期六, 22 六月 2019 15:53:58 +0800 Subject: [PATCH] 7413 宗门试炼评级通知 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4515.py | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4515.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4515.py index 63797b4..14613a8 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4515.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4515.py @@ -1,22 +1,22 @@ -#!/usr/bin/python -# -*- coding: GBK -*- -# -# @todo: BUFF类:攻击附加真实伤害百分比 -# -# @author: Alee -# @date 2018-1-30 下午05:11:45 -# @version 1.0 -# -# @note: -# -#--------------------------------------------------------------------- - -import ChConfig -import GameWorld - -def CheckCanHappen(attacker, defender, passiveEffect, skillID): - return GameWorld.CanHappen(passiveEffect.GetEffectValue(1)) - - -def GetValue(attacker, defender, passiveEffect): - return float(passiveEffect.GetEffectValue(0))/ChConfig.Def_MaxRateValue +#!/usr/bin/python +# -*- coding: GBK -*- +# +# @todo: BUFF类:攻击附加真实伤害百分比 +# +# @author: Alee +# @date 2018-1-30 下午05:11:45 +# @version 1.0 +# +# @note: +# +#--------------------------------------------------------------------- + +import ChConfig +import GameWorld + +def CheckCanHappen(attacker, defender, passiveEffect, skillID, **skillkwargs): + return GameWorld.CanHappen(passiveEffect.GetEffectValue(1)) + + +def GetValue(attacker, defender, passiveEffect): + return passiveEffect.GetEffectValue(0) -- Gitblit v1.8.0