1
This commit is contained in:
parent
c19225437d
commit
47a4d9c5bc
@ -3525,6 +3525,8 @@ void Human::OnBulletHit(Bullet* bullet)
|
|||||||
|
|
||||||
RemoveBuffByEffectId(kBET_PeaceMode);
|
RemoveBuffByEffectId(kBET_PeaceMode);
|
||||||
if (!dead && (bullet->IsBomb() || bullet->sender.Get()->team_id != team_id)) {
|
if (!dead && (bullet->IsBomb() || bullet->sender.Get()->team_id != team_id)) {
|
||||||
|
#ifdef ATTR
|
||||||
|
#else
|
||||||
float old_hp = GetHP();
|
float old_hp = GetHP();
|
||||||
float old_max_hp = GetMaxHP();
|
float old_max_hp = GetMaxHP();
|
||||||
float finaly_dmg = 0;
|
float finaly_dmg = 0;
|
||||||
@ -3556,6 +3558,7 @@ void Human::OnBulletHit(Bullet* bullet)
|
|||||||
bullet->gun_meta->i->id());
|
bullet->gun_meta->i->id());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user