mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 07:34:50 +00:00
Bots use c4death_mp
This commit is contained in:
parent
9b63acb5d8
commit
8e9594e3c4
@ -1563,7 +1563,7 @@ canFire(curweap)
|
||||
if (curweap == "riotshield_mp")
|
||||
return false;
|
||||
|
||||
if (self IsUsingRemote())
|
||||
if (self IsUsingRemote() || curweap == "c4death_mp")
|
||||
return true;
|
||||
|
||||
return self GetWeaponammoclip(curweap);
|
||||
@ -1577,7 +1577,7 @@ canAds(dist, curweap)
|
||||
if (self IsUsingRemote())
|
||||
return false;
|
||||
|
||||
if(curweap == "none")
|
||||
if(curweap == "none" || curweap == "c4death_mp")
|
||||
return false;
|
||||
|
||||
if (!getDvarInt("bots_play_ads"))
|
||||
@ -1616,7 +1616,7 @@ isInRange(dist, curweap)
|
||||
if (self IsUsingRemote())
|
||||
return true;
|
||||
|
||||
if((weapclass == "spread" || self.bot.is_cur_akimbo) && dist > level.bots_maxShotgunDistance)
|
||||
if((weapclass == "spread" || self.bot.is_cur_akimbo || curweap == "c4death_mp") && dist > level.bots_maxShotgunDistance)
|
||||
return false;
|
||||
|
||||
if (curweap == "riotshield_mp" && dist > level.bots_maxKnifeDistance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user