bot: some tweaks for zombie mode (ref #664)
This commit is contained in:
parent
e09d75f245
commit
d965d7677f
6 changed files with 45 additions and 5 deletions
|
|
@ -1243,7 +1243,9 @@ void Bot::fireWeapons () {
|
|||
}
|
||||
|
||||
// use knife if near and good difficulty (l33t dude!)
|
||||
if (cv_stab_close_enemies && m_difficulty >= Difficulty::Normal
|
||||
if (!game.is (GameFlags::ZombieMod)
|
||||
&& cv_stab_close_enemies
|
||||
&& m_difficulty >= Difficulty::Normal
|
||||
&& m_healthValue > 80.0f
|
||||
&& !game.isNullEntity (m_enemy)
|
||||
&& distance < 100.0f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue