1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-08 22:31:36 -05:00

Containment: gain score by most alive players

This commit is contained in:
Jbleezy 2022-01-29 23:42:36 -08:00
parent 781256df78
commit d6753d0d0c
2 changed files with 5 additions and 5 deletions

View File

@ -476,7 +476,7 @@
* 25000 health Brutus
### Containment
* Gain score by being the only team in the containment zone
* Gain score by being the team with the most alive players in the containment zone
* First team to gain 250 score wins the game
* Zombies only go after players in the containment zone
* Players respawn after being down for 10 seconds

View File

@ -1228,7 +1228,7 @@ grief_intro_text()
{
self iPrintLn("Welcome to Containment!");
wait 5;
self iPrintLn("Gain score by being the only team in the containment zone.");
self iPrintLn("Gain score by being in the containment zone.");
wait 5;
self iPrintLn("First team to gain 250 score wins the game.");
wait 5;
@ -2162,7 +2162,7 @@ containment_think()
}
}
if(in_containment_zone["axis"] > 0 && in_containment_zone["allies"] > 0)
if(in_containment_zone["axis"] == in_containment_zone["allies"] && in_containment_zone["axis"] > 0 && in_containment_zone["allies"] > 0)
{
foreach(player in players)
{
@ -2172,7 +2172,7 @@ containment_think()
held_time["axis"] = undefined;
held_time["allies"] = undefined;
}
else if(in_containment_zone["axis"] > 0)
else if(in_containment_zone["axis"] > in_containment_zone["allies"])
{
foreach(player in players)
{
@ -2197,7 +2197,7 @@ containment_think()
increment_score("axis");
}
}
else if(in_containment_zone["allies"] > 0)
else if(in_containment_zone["allies"] > in_containment_zone["axis"])
{
foreach(player in players)
{