mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-21 23:45:43 +00:00
better dom
This commit is contained in:
parent
a9ccf1bcbd
commit
861430e884
@ -3057,20 +3057,23 @@ bot_dom_cap_think()
|
||||
|
||||
otherFlagCount = maps\mp\gametypes\dom::getTeamFlagCount( otherTeam );
|
||||
|
||||
if ( myFlagCount < otherFlagCount )
|
||||
if (game["teamScores"][myteam] >= game["teamScores"][otherTeam])
|
||||
{
|
||||
if ( randomint( 100 ) < 15 )
|
||||
continue;
|
||||
}
|
||||
else if ( myFlagCount == otherFlagCount )
|
||||
{
|
||||
if ( randomint( 100 ) < 35 )
|
||||
continue;
|
||||
}
|
||||
else if ( myFlagCount > otherFlagCount )
|
||||
{
|
||||
if ( randomint( 100 ) < 95 )
|
||||
continue;
|
||||
if ( myFlagCount < otherFlagCount )
|
||||
{
|
||||
if ( randomint( 100 ) < 15 )
|
||||
continue;
|
||||
}
|
||||
else if ( myFlagCount == otherFlagCount )
|
||||
{
|
||||
if ( randomint( 100 ) < 35 )
|
||||
continue;
|
||||
}
|
||||
else if ( myFlagCount > otherFlagCount )
|
||||
{
|
||||
if ( randomint( 100 ) < 95 )
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
flag = undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user