better dom

This commit is contained in:
INeedBots 2021-02-27 14:47:10 -06:00
parent c1e55c4c29
commit 16594122ef

View File

@ -2714,6 +2714,8 @@ bot_dom_cap_think()
otherFlagCount = maps\mp\gametypes\dom::getTeamFlagCount( otherTeam ); otherFlagCount = maps\mp\gametypes\dom::getTeamFlagCount( otherTeam );
if (game["teamScores"][myteam] >= game["teamScores"][otherTeam])
{
if ( myFlagCount < otherFlagCount ) if ( myFlagCount < otherFlagCount )
{ {
if ( randomint( 100 ) < 15 ) if ( randomint( 100 ) < 15 )
@ -2729,6 +2731,7 @@ bot_dom_cap_think()
if ( randomint( 100 ) < 95 ) if ( randomint( 100 ) < 95 )
continue; continue;
} }
}
flag = undefined; flag = undefined;
flags = []; flags = [];