mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-19 03:28:38 -05:00
Buried: ghosts free perk powerup change
This commit is contained in:
@ -187,6 +187,7 @@
|
|||||||
* Removed Turbine
|
* Removed Turbine
|
||||||
* Removed Sloth barricades
|
* Removed Sloth barricades
|
||||||
* Sloth can no longer be unlocked
|
* 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
|
* Fountain portal automatically active
|
||||||
* Navcard table automatically crafted
|
* Navcard table automatically crafted
|
||||||
|
|
||||||
|
@ -178,6 +178,7 @@ post_all_players_spawned()
|
|||||||
|
|
||||||
level thread buried_deleteslothbarricades();
|
level thread buried_deleteslothbarricades();
|
||||||
level thread buried_enable_fountain_transport();
|
level thread buried_enable_fountain_transport();
|
||||||
|
level thread buried_disable_ghost_free_perk_on_damage();
|
||||||
|
|
||||||
level thread wallbuy_dynamic_increase_trigger_radius();
|
level thread wallbuy_dynamic_increase_trigger_radius();
|
||||||
|
|
||||||
@ -4473,6 +4474,37 @@ buried_enable_fountain_transport()
|
|||||||
level notify( "courtyard_fountain_open" );
|
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()
|
vulture_disable_stink_while_standing()
|
||||||
{
|
{
|
||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
|
Reference in New Issue
Block a user