mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-08 01:47:50 -05:00
added the missing function from cerberus
This commit is contained in:
parent
3017f5b357
commit
a0de634d89
@ -1844,4 +1844,28 @@ elevator_traverse_watcher() //checked matches cerberus output
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
highrise_special_weapon_magicbox_check(weapon)
|
||||||
|
{
|
||||||
|
if ( is_true( level.raygun2_included ) )
|
||||||
|
{
|
||||||
|
if ( weapon == "ray_gun_zm" )
|
||||||
|
{
|
||||||
|
if(self has_weapon_or_upgrade( "raygun_mark2_zm" ) || maps/mp/zombies/_zm_chugabud::is_weapon_available_in_chugabud_corpse( "raygun_mark2_zm", self ) )
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ( weapon == "raygun_mark2_zm" )
|
||||||
|
{
|
||||||
|
if ( self has_weapon_or_upgrade( "ray_gun_zm" ) || maps/mp/zombies/_zm_chugabud::is_weapon_available_in_chugabud_corpse( "ray_gun_zm", self ) )
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
if ( randomint( 100 ) >= 33 )
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user