mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 07:55:43 +00:00
fix twar
This commit is contained in:
parent
003814a86b
commit
14bebeab0e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user