This commit is contained in:
aozhiwei 2022-12-08 18:03:10 +08:00
parent 3e21e93834
commit eb291bdc54

View File

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