mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 07:55:43 +00:00
better dom
This commit is contained in:
parent
a9ccf1bcbd
commit
861430e884
@ -3057,6 +3057,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 )
|
||||||
@ -3072,6 +3074,7 @@ bot_dom_cap_think()
|
|||||||
if ( randomint( 100 ) < 95 )
|
if ( randomint( 100 ) < 95 )
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
flag = undefined;
|
flag = undefined;
|
||||||
flags = [];
|
flags = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user