From d432efff1f857933487e58f5515e184f985da7ad Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 22 八月 2018 16:45:27 +0800
Subject: [PATCH] update
---
Fight/Actor/State/SMB/STM_BaseAttack.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Fight/Actor/State/SMB/STM_BaseAttack.cs b/Fight/Actor/State/SMB/STM_BaseAttack.cs
index fa99d6f..5746b7a 100644
--- a/Fight/Actor/State/SMB/STM_BaseAttack.cs
+++ b/Fight/Actor/State/SMB/STM_BaseAttack.cs
@@ -618,7 +618,8 @@
_target.ActorInfo.serverDie && m_IsLastHitFrame);
if (!_target.ActorInfo.serverDie
- && m_CacheSkill.hurtServerList[i].AttackType != (byte)HurtAttackType.Miss)
+ && m_CacheSkill.hurtServerList[i].AttackType != (byte)HurtAttackType.Miss
+ && _target.ServerInstID != PlayerDatas.Instance.PlayerId)
{
AddToNpcPosList(_fight, _target, _sweepHit.bodyControlId, (_target.Pos - owner.Pos).normalized, m_NpcPosList);
}
@@ -657,7 +658,8 @@
if (!_target.ActorInfo.serverDie
- && m_CacheSkill.hurtClientList[i].AttackType != (byte)HurtAttackType.Miss)
+ && m_CacheSkill.hurtClientList[i].AttackType != (byte)HurtAttackType.Miss
+ && _target.ServerInstID != PlayerDatas.Instance.PlayerId)
{
AddToNpcPosList(_fight, _target, _sweepHit.bodyControlId, (_target.Pos - owner.Pos).normalized, m_NpcPosList);
}
--
Gitblit v1.8.0