This commit is contained in:
aozhiwei 2022-09-06 16:38:30 +08:00
parent c19225437d
commit 47a4d9c5bc

View File

@ -3525,6 +3525,8 @@ void Human::OnBulletHit(Bullet* bullet)
RemoveBuffByEffectId(kBET_PeaceMode);
if (!dead && (bullet->IsBomb() || bullet->sender.Get()->team_id != team_id)) {
#ifdef ATTR
#else
float old_hp = GetHP();
float old_max_hp = GetMaxHP();
float finaly_dmg = 0;
@ -3556,6 +3558,7 @@ void Human::OnBulletHit(Bullet* bullet)
bullet->gun_meta->i->id());
}
}
#endif
}
}