1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-18 19:18:23 -05:00

Buried: ghosts free perk powerup change

This commit is contained in:
Jbleezy
2020-03-17 18:42:38 -07:00
parent ae1db8a29d
commit 10b0843be5
2 changed files with 33 additions and 0 deletions

View File

@ -187,6 +187,7 @@
* Removed Turbine
* Removed Sloth barricades
* Sloth can no longer be unlocked
* Ghosts no longer spawn a free perk powerup if any player gets damaged by the ghosts
* Fountain portal automatically active
* Navcard table automatically crafted

View File

@ -178,6 +178,7 @@ post_all_players_spawned()
level thread buried_deleteslothbarricades();
level thread buried_enable_fountain_transport();
level thread buried_disable_ghost_free_perk_on_damage();
level thread wallbuy_dynamic_increase_trigger_radius();
@ -4473,6 +4474,37 @@ buried_enable_fountain_transport()
level notify( "courtyard_fountain_open" );
}
buried_disable_ghost_free_perk_on_damage()
{
if(!(is_classic() && level.scr_zm_map_start_location == "processing"))
{
return;
}
while (1)
{
buried_disable_ghost_free_perk();
}
}
buried_disable_ghost_free_perk()
{
level endon( "ghost_round_end" );
flag_wait( "spawn_ghosts" );
level waittill_any("ghost_drained_player", "ghost_damaged_player");
while (!isDefined(level.ghost_round_last_ghost_origin))
{
wait 0.05;
}
level.ghost_round_last_ghost_origin = undefined;
flag_waitopen( "spawn_ghosts" );
}
vulture_disable_stink_while_standing()
{
self endon( "disconnect" );