mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-07-11 13:41:51 +00:00
Fix these
This commit is contained in:
@ -765,13 +765,6 @@ get_random_attachment( weapon, rank )
|
||||
|
||||
if ( reasonable )
|
||||
{
|
||||
/* switch(att)
|
||||
{
|
||||
case "acog":
|
||||
if(weapon != "m40a3")
|
||||
continue;
|
||||
break;
|
||||
}*/
|
||||
}
|
||||
|
||||
return att;
|
||||
@ -5602,9 +5595,7 @@ bot_war_loop( data )
|
||||
}
|
||||
|
||||
// check if should cap
|
||||
if ( game[ "war_momentum" ][ myTeam + "_multiplier" ] == getdvarint( "twar_momentumMaxMultiplier" ) ||
|
||||
flag.useobj.numtouching[ otherTeam ] > flag.useobj.numtouching[ myTeam ] ||
|
||||
data.rand > 90 || ourFlags < theirFlags )
|
||||
if ( game[ "war_momentum" ][ myTeam + "_multiplier" ] == getdvarint( "twar_momentumMaxMultiplier" ) || flag.useobj.numtouching[ otherTeam ] > flag.useobj.numtouching[ myTeam ] || data.rand > 90 || ourFlags < theirFlags )
|
||||
{
|
||||
self BotNotifyBotEvent( "twar", "go", "cap" );
|
||||
|
||||
|
Reference in New Issue
Block a user