少年修仙传客户端代码仓库
client_Hale
2019-05-22 ef13fc87f8030740f3d6a3888f85b36b3c966f58
382 修正前端怪可能杀死玩家的情况
1个文件已修改
3 ■■■■ 已修改文件
Fight/Actor/Skill/AttackHandler.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Actor/Skill/AttackHandler.cs
@@ -211,9 +211,10 @@
                    if (attacker is GA_NpcClientFightNorm)
                    {
                        if (target.ActorInfo.RealHp <= (target.ActorInfo.RealMaxHp * .5f))
                        if ((target.ActorInfo.RealHp - (ulong)hurtValue) <= (target.ActorInfo.RealMaxHp * .5f))
                        {
                            hurtValue = 0;
                            realHurtValue = 0;
                        }
                    }
                    else if (target is GA_NpcClientFightNorm)