兔子隐身时受击,没有现身。

This commit is contained in:
aozhiwei 2022-11-10 11:31:09 +08:00
parent 1e2326cd8c
commit 60ca84b474

View File

@ -3644,6 +3644,7 @@ void Human::OnBulletHit(IBullet* bullet)
}
RemoveBuffByEffectId(kBET_PeaceMode);
RemoveBuffByEffectId(kBET_Hide);
if (!dead && (bullet->IsBomb() || bullet->GetSender().Get()->team_id != team_id)) {
float finaly_dmg = 0;
if (bullet->GetSkillMeta() && SkillHelper::ProcBulletDmg(bullet, this, finaly_dmg)) {