mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
fix
This commit is contained in:
parent
33311e888a
commit
3affc95c04
@ -5224,7 +5224,7 @@ bot_dem_attackers()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
timeleft = getTimeRemaining()/1000;
|
timeleft = maps\mp\gametypes\_gamelogic::getTimeRemaining()/1000;
|
||||||
|
|
||||||
shouldLet = (game["teamScores"][myteam] > game["teamScores"][otherTeam] && timeleft < 90 && bombed == 1);
|
shouldLet = (game["teamScores"][myteam] > game["teamScores"][otherTeam] && timeleft < 90 && bombed == 1);
|
||||||
//spawnkill conditions
|
//spawnkill conditions
|
||||||
@ -5433,7 +5433,7 @@ bot_dem_defenders()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
timeleft = getTimeRemaining()/1000;
|
timeleft = maps\mp\gametypes\_gamelogic::getTimeRemaining()/1000;
|
||||||
|
|
||||||
shouldLet = (timeleft < 60 && ((bombed == 0 && bombs.size != 2) || (game["teamScores"][myteam] > game["teamScores"][otherTeam] && bombed == 1)) && randomInt(100) < 98);
|
shouldLet = (timeleft < 60 && ((bombed == 0 && bombs.size != 2) || (game["teamScores"][myteam] > game["teamScores"][otherTeam] && bombed == 1)) && randomInt(100) < 98);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user