mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 23:29:12 +00:00
Bots use javelin more if already equiped
This commit is contained in:
parent
d7f243afbd
commit
51ab0993d1
@ -2795,7 +2795,7 @@ bot_jav_loc_think_loop(data)
|
|||||||
if (chance > 20)
|
if (chance > 20)
|
||||||
chance = 20;
|
chance = 20;
|
||||||
|
|
||||||
if (randomInt(100) > chance)
|
if (randomInt(100) > chance && self getCurrentWeapon() != "javelin_mp")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user