mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-20 05:25:44 +00:00
nvm
This commit is contained in:
parent
2bd494c8d7
commit
aae462fb95
@ -1310,14 +1310,11 @@ aim_loop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( isActor && !self.bot.isknifingafter && conedot > 0.9 && dist < level.bots_maxKnifeDistance && trace_time > reaction_time && getDvarInt( "bots_play_knife" ) )
|
if ( isActor && !self.bot.isknifingafter && conedot > 0.9 && dist < level.bots_maxKnifeDistance && trace_time > reaction_time && getDvarInt( "bots_play_knife" ) )
|
||||||
{
|
|
||||||
if ( self canFire( curweap ) || !self getAmmoCount( curweap ) )
|
|
||||||
{
|
{
|
||||||
self clear_bot_after_target();
|
self clear_bot_after_target();
|
||||||
self thread knife();
|
self thread knife();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ( !self canFire( curweap ) || !self isInRange( dist, curweap ) )
|
if ( !self canFire( curweap ) || !self isInRange( dist, curweap ) )
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user