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:
parent
781256df78
commit
d6753d0d0c
@ -476,7 +476,7 @@
|
|||||||
* 25000 health Brutus
|
* 25000 health Brutus
|
||||||
|
|
||||||
### Containment
|
### 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
|
* First team to gain 250 score wins the game
|
||||||
* Zombies only go after players in the containment zone
|
* Zombies only go after players in the containment zone
|
||||||
* Players respawn after being down for 10 seconds
|
* Players respawn after being down for 10 seconds
|
||||||
|
@ -1228,7 +1228,7 @@ grief_intro_text()
|
|||||||
{
|
{
|
||||||
self iPrintLn("Welcome to Containment!");
|
self iPrintLn("Welcome to Containment!");
|
||||||
wait 5;
|
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;
|
wait 5;
|
||||||
self iPrintLn("First team to gain 250 score wins the game.");
|
self iPrintLn("First team to gain 250 score wins the game.");
|
||||||
wait 5;
|
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)
|
foreach(player in players)
|
||||||
{
|
{
|
||||||
@ -2172,7 +2172,7 @@ containment_think()
|
|||||||
held_time["axis"] = undefined;
|
held_time["axis"] = undefined;
|
||||||
held_time["allies"] = 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)
|
foreach(player in players)
|
||||||
{
|
{
|
||||||
@ -2197,7 +2197,7 @@ containment_think()
|
|||||||
increment_score("axis");
|
increment_score("axis");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(in_containment_zone["allies"] > 0)
|
else if(in_containment_zone["allies"] > in_containment_zone["axis"])
|
||||||
{
|
{
|
||||||
foreach(player in players)
|
foreach(player in players)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user