From 84d41bd256d53ebafab1ca79b35a9f91d459366a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 13 四月 2021 16:16:17 +0800 Subject: [PATCH] 8896 【BT2】【主干】【后端】特权令(同步冲突;及修改B209 B210 封包 为B211 B212) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py index d3dee81..94ad794 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py @@ -87,7 +87,7 @@ lastHP = curNPCBeHP - GameObj.GetHP(curNormalNPC) if lastHP > 0 : #添加伤血列表 - AttackCommon.NPCAddObjInHurtList(curTagPlayer, curNormalNPC, curNPCBeHP, lastHP) + AttackCommon.NPCAddObjInHurtList(curTagPlayer, curNormalNPC, curNPCBeHP, lastHP, True) #给这个玩家的召唤兽增加仇恨 AttackCommon.SummonAddAngryByOwner(curNormalNPC, curTagPlayer, hurtHP) #添加技能伤害通知列表,(用于攻击结束,统一通知客户端) @@ -104,7 +104,7 @@ def AttackResult(curNormalNPC, curTagPlayer, skill, tick): #玩家活着 - if curTagPlayer.GetHP() > 0: + if GameObj.GetHP(curTagPlayer) > 0: #被攻击玩家进入战斗状态 AttackCommon.OnNPCHitPlayer(curNormalNPC, curTagPlayer, tick) AttackCommon.SetPlayerBattleState(curTagPlayer, tick) -- Gitblit v1.8.0