mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-20 21:25:42 +00:00
Added lastKiller
This commit is contained in:
parent
6a53dd9d20
commit
18eabe21fc
@ -3288,7 +3288,7 @@ bot_revenge_think()
|
||||
if(self.pers["bots"]["skill"]["base"] <= 1)
|
||||
return;
|
||||
|
||||
if (isDefined(self.lastKiller))
|
||||
if (isDefined(self.lastKiller) && isReallyAlive(self.lastKiller))
|
||||
{
|
||||
if(bulletTracePassed(self getEye(), self.lastKiller getTagOrigin( "j_spineupper" ), false, self.lastKiller))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user