mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2026-10-12 06:11:26 +00:00
fix these
This commit is contained in:
1 parent
e181931ca2
commit
c342446e46
2 files changed
+2
-7
No files matched your search
@@ -48,8 +48,7 @@ BotDoChat( chance, string, isTeam )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( chance >= 100 || mod >= 100.0 ||
|
if ( chance >= 100 || mod >= 100.0 || ( randomint( 100 ) < ( chance * mod ) + 0 ) )
|
||||||
( randomint( 100 ) < ( chance * mod ) + 0 ) )
|
|
||||||
{
|
{
|
||||||
if ( isdefined( isTeam ) && isTeam )
|
if ( isdefined( isTeam ) && isTeam )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -820,11 +820,7 @@ allowTeamChoice()
|
|||||||
*/
|
*/
|
||||||
waittill_any_timeout( timeOut, string1, string2, string3, string4, string5 )
|
waittill_any_timeout( timeOut, string1, string2, string3, string4, string5 )
|
||||||
{
|
{
|
||||||
if ( ( !isdefined( string1 ) || string1 != "death" ) &&
|
if ( ( !isdefined( string1 ) || string1 != "death" ) && ( !isdefined( string2 ) || string2 != "death" ) && ( !isdefined( string3 ) || string3 != "death" ) && ( !isdefined( string4 ) || string4 != "death" ) && ( !isdefined( string5 ) || string5 != "death" ) )
|
||||||
( !isdefined( string2 ) || string2 != "death" ) &&
|
|
||||||
( !isdefined( string3 ) || string3 != "death" ) &&
|
|
||||||
( !isdefined( string4 ) || string4 != "death" ) &&
|
|
||||||
( !isdefined( string5 ) || string5 != "death" ) )
|
|
||||||
{
|
{
|
||||||
self endon( "death" );
|
self endon( "death" );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user