mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 07:34:50 +00:00
decoy airdrops
This commit is contained in:
parent
138b6ddd46
commit
775d6d343b
@ -3513,6 +3513,18 @@ bot_watch_stuck_on_crate()
|
||||
if (!isDefined(tempCrate))
|
||||
continue;
|
||||
|
||||
if (isDefined(tempCrate.owner) && isDefined(tempCrate.bomb))
|
||||
{
|
||||
if (tempCrate.owner == self)
|
||||
continue;
|
||||
|
||||
if (level.teamBased && tempCrate.owner.team == self.team)
|
||||
continue;
|
||||
|
||||
if (self _hasPerk("specialty_detectexplosive"))
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!isDefined(tempCrate.doingPhysics) || tempCrate.doingPhysics)
|
||||
continue;
|
||||
|
||||
@ -3588,6 +3600,18 @@ bot_crate_think()
|
||||
if (!isDefined(tempCrate))
|
||||
continue;
|
||||
|
||||
if (isDefined(tempCrate.owner) && isDefined(tempCrate.bomb))
|
||||
{
|
||||
if (tempCrate.owner == self)
|
||||
continue;
|
||||
|
||||
if (level.teamBased && tempCrate.owner.team == self.team)
|
||||
continue;
|
||||
|
||||
if (self _hasPerk("specialty_detectexplosive"))
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!isDefined(tempCrate.doingPhysics) || tempCrate.doingPhysics)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user