mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2026-10-13 14:21:27 +00:00
Added lastKiller
This commit is contained in:
1 parent
6a53dd9d20
commit
18eabe21fc
1 file changed
+1
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user