mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
26 lines
464 B
Plaintext
26 lines
464 B
Plaintext
#include maps\mp\_utility;
|
|
#include common_scripts\utility;
|
|
#include maps\mp\zombies\_zm_utility;
|
|
|
|
get_upgraded_ammo_cost( weapon_name )
|
|
{
|
|
if ( isDefined( level.zombie_weapons[ weapon_name ].upgraded_ammo_cost ) )
|
|
{
|
|
return level.zombie_weapons[ weapon_name ].upgraded_ammo_cost;
|
|
}
|
|
|
|
return 2500;
|
|
}
|
|
|
|
makegrenadedudanddestroy()
|
|
{
|
|
self endon( "death" );
|
|
|
|
self notify( "grenade_dud" );
|
|
self makegrenadedud();
|
|
|
|
if ( isDefined( self ) )
|
|
{
|
|
self delete();
|
|
}
|
|
} |