mirror of
				https://github.com/ineedbots/t5_bot_warfare.git
				synced 2025-10-30 23:57:01 +00:00 
			
		
		
		
	better dom
This commit is contained in:
		| @@ -3094,20 +3094,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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user