mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 15:44:49 +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")
|
if (curweap == "riotshield_mp")
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote() || curweap == "c4death_mp")
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return self GetWeaponammoclip(curweap);
|
return self GetWeaponammoclip(curweap);
|
||||||
@ -1577,7 +1577,7 @@ canAds(dist, curweap)
|
|||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if(curweap == "none")
|
if(curweap == "none" || curweap == "c4death_mp")
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!getDvarInt("bots_play_ads"))
|
if (!getDvarInt("bots_play_ads"))
|
||||||
@ -1616,7 +1616,7 @@ isInRange(dist, curweap)
|
|||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote())
|
||||||
return true;
|
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;
|
return false;
|
||||||
|
|
||||||
if (curweap == "riotshield_mp" && dist > level.bots_maxKnifeDistance)
|
if (curweap == "riotshield_mp" && dist > level.bots_maxKnifeDistance)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user