添加伪装逻辑处理

This commit is contained in:
aozhiwei 2021-10-21 14:56:05 +08:00
parent 91df9fb906
commit caa9b70671

View File

@ -3143,9 +3143,9 @@ void Human::OnBulletHit(Bullet* bullet)
return; return;
} }
{ {
Buff* buff = GetBuffByEffect(kBET_Camouflage); Buff* buff = GetBuffByEffectId(kBET_Camouflage);
if (buff && buff->i->int_param2 == 1) { if (buff && buff->meta->int_param2 == 1) {
return return;
} }
} }
#ifdef DEBUG #ifdef DEBUG