mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-05-12 15:34:51 +00:00
Sync with iw5 changes
This commit is contained in:
parent
b4bade0106
commit
fe4e761c64
@ -1014,7 +1014,7 @@ classWatch()
|
|||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
while(!isdefined(self.pers["team"]))
|
while(!isdefined(self.pers["team"]) || !allowClassChoice())
|
||||||
wait .05;
|
wait .05;
|
||||||
|
|
||||||
wait 0.5;
|
wait 0.5;
|
||||||
@ -1078,7 +1078,7 @@ teamWatch()
|
|||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
while(!isdefined(self.pers["team"]))
|
while(!isdefined(self.pers["team"]) || !allowTeamChoice())
|
||||||
wait .05;
|
wait .05;
|
||||||
|
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
@ -2866,7 +2866,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -447,6 +447,22 @@ getValidTube()
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
iw5
|
||||||
|
*/
|
||||||
|
allowClassChoice()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
iw5
|
||||||
|
*/
|
||||||
|
allowTeamChoice()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
helper
|
helper
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user