This commit is contained in:
INeedBots 2020-11-30 01:53:36 -06:00
parent 003814a86b
commit 14bebeab0e

View File

@ -4062,7 +4062,7 @@ bot_war()
// check if should cap // check if should cap
if (game["war_momentum"][myTeam + "_multiplier"] == getDvarInt("twar_momentumMaxMultiplier") || if (game["war_momentum"][myTeam + "_multiplier"] == getDvarInt("twar_momentumMaxMultiplier") ||
flag.numTouching[otherTeam] > flag.numTouching[myTeam] || flag.useObj.numTouching[otherTeam] > flag.useObj.numTouching[myTeam] ||
rand > 90) rand > 90)
{ {
self.bot_lock_goal = true; self.bot_lock_goal = true;
@ -4161,7 +4161,7 @@ bots_go_around_twar(flag, myTeam, otherTeam)
if (game["war_momentum"][myTeam + "_multiplier"] == getDvarInt("twar_momentumMaxMultiplier")) if (game["war_momentum"][myTeam + "_multiplier"] == getDvarInt("twar_momentumMaxMultiplier"))
break; break;
if (flag.numTouching[otherTeam] > flag.numTouching[myTeam]) if (flag.useObj.numTouching[otherTeam] > flag.useObj.numTouching[myTeam])
break; break;
} }