From fe674f04c89b254f798282792be11e140d33489d Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期四, 07 三月 2019 14:33:14 +0800 Subject: [PATCH] 6130 【工具】【内网】伤害输出测试,内网 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py index 0e6b322..854897d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py @@ -1295,6 +1295,8 @@ # 已广播的不重复 GameObj.SetHP(curObj, remainHP, not view) + AttackCommon.WriteHurtLog(buffOwner, curObj, curSkill, lostValue, hurtType, "持续掉血") + if view: #广播伤血类型 AttackCommon.ChangeHPView(curObj, buffOwner, skillTypeID, notifyLostValue, hurtType) @@ -1309,6 +1311,7 @@ AttackCommon.DoLogic_ObjDead(None, curObj, curSkill, tick) return + #NPC需要手动添加伤血和仇恨, 因为无调用DoAttack if curObjType == IPY_GameWorld.gotNPC: -- Gitblit v1.8.0