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

Encounter Pro on Cell Block: remove wolf powerup

This commit is contained in:
Jbleezy
2023-03-03 18:02:03 -08:00
parent 4bab7c9311
commit 05220b18b8
2 changed files with 50 additions and 1 deletions

View File

@ -3,6 +3,55 @@
#include maps\mp\zombies\_zm_utility;
#include maps\mp\zm_alcatraz_weap_quest;
#using_animtree("fxanim_props");
grief_soul_catcher_state_manager()
{
wait 1;
if (is_true(level.scr_zm_ui_gametype_pro))
{
for (i = 0; i < level.soul_catchers.size; i++)
{
level.soul_catchers[i].is_charged = 1;
}
return;
}
while ( true )
{
level setclientfield( self.script_parameters, 0 );
self waittill( "first_zombie_killed_in_zone" );
if ( isdefined( level.soul_catcher_clip[self.script_noteworthy] ) )
level.soul_catcher_clip[self.script_noteworthy] setvisibletoall();
level setclientfield( self.script_parameters, 1 );
anim_length = getanimlength( %o_zombie_dreamcatcher_intro );
wait( anim_length );
while ( !self.is_charged )
{
level setclientfield( self.script_parameters, 2 );
self waittill_either( "fully_charged", "finished_eating" );
}
level setclientfield( self.script_parameters, 6 );
anim_length = getanimlength( %o_zombie_dreamcatcher_outtro );
wait( anim_length );
if ( isdefined( level.soul_catcher_clip[self.script_noteworthy] ) )
level.soul_catcher_clip[self.script_noteworthy] delete();
self.souls_received = 0;
level thread wolf_spit_out_powerup();
wait 20;
self thread soul_catcher_check();
}
}
wolf_spit_out_powerup()
{
if ( !( isdefined( level.enable_magic ) && level.enable_magic ) )

View File

@ -14,7 +14,7 @@ main()
{
replaceFunc(maps\mp\zm_alcatraz_classic::give_afterlife, scripts\zm\replaced\zm_alcatraz_classic::give_afterlife);
replaceFunc(maps\mp\zm_alcatraz_utility::blundergat_upgrade_station, scripts\zm\replaced\zm_alcatraz_utility::blundergat_upgrade_station);
replaceFunc(maps\mp\zm_alcatraz_weap_quest::wolf_spit_out_powerup, scripts\zm\replaced\zm_alcatraz_weap_quest::wolf_spit_out_powerup);
replaceFunc(maps\mp\zm_alcatraz_weap_quest::grief_soul_catcher_state_manager, scripts\zm\replaced\zm_alcatraz_weap_quest::grief_soul_catcher_state_manager);
replaceFunc(maps\mp\zombies\_zm_afterlife::afterlife_add, scripts\zm\replaced\_zm_afterlife::afterlife_add);
replaceFunc(maps\mp\zombies\_zm_ai_brutus::brutus_spawn, scripts\zm\replaced\_zm_ai_brutus::brutus_spawn);
replaceFunc(maps\mp\zombies\_zm_ai_brutus::brutus_health_increases, scripts\zm\replaced\_zm_ai_brutus::brutus_health_increases);