From 027dccfa5c57091f7d1787af3e6c7b26c8c0f9a3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 23 十二月 2019 15:46:52 +0800 Subject: [PATCH] 8346 【恺英】【后端】协助系统(玩家看到boss才同步伤血封包;修复玩家PK时buff掉血添加npc伤血列表报错) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4030.py | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4030.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4030.py new file mode 100644 index 0000000..6680437 --- /dev/null +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4030.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: GBK -*- +# +##@package +# +# @todo: 重击额外增加固定伤害 +# +# @author: Alee +# @date 2019-6-20 下午08:40:47 +# @version 1.0 +# +# @note: +# +#--------------------------------------------------------------------- +import ChConfig +import GameWorld +import SkillCommon +import GameObj + +# 目标某个状态时触发 +def CheckCanHappen(attacker, defender, effect, curSkill): + return True + + +def GetValue(attacker, defender, effect): + return effect.GetEffectValue(0) + -- Gitblit v1.8.0