mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-25 06:30:22 -05:00
Ray Gun: increase impact damage to match max splash damage
This commit is contained in:
@ -120,6 +120,16 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon,
|
||||
|
||||
attacker thread maps/mp/gametypes_zm/_weapons::checkhit( weapon );
|
||||
|
||||
if(weapon == "ray_gun_zm" && meansofdeath == "MOD_PROJECTILE")
|
||||
{
|
||||
final_damage = 1500;
|
||||
}
|
||||
|
||||
if(weapon == "ray_gun_upgraded_zm" && meansofdeath == "MOD_PROJECTILE")
|
||||
{
|
||||
final_damage = 2000;
|
||||
}
|
||||
|
||||
if(maps/mp/zombies/_zm_weapons::get_base_weapon_name(weapon, 1) == "saritch_zm")
|
||||
{
|
||||
final_damage *= 2;
|
||||
|
@ -1772,7 +1772,7 @@ zombie_damage( mod, hit_location, hit_origin, player, amount, team )
|
||||
self dodamage( damage, self.origin, undefined, self, hit_location, modname );
|
||||
}
|
||||
}
|
||||
else if ( mod != "MOD_PROJECTILE" || mod == "MOD_EXPLOSIVE" && mod == "MOD_PROJECTILE_SPLASH" )
|
||||
else if ( mod == "MOD_PROJECTILE" || mod == "MOD_PROJECTILE_SPLASH" || mod == "MOD_EXPLOSIVE" )
|
||||
{
|
||||
damage = 1000;
|
||||
if ( isDefined( player ) && isalive( player ) )
|
||||
@ -1968,4 +1968,9 @@ spawn_bots(num)
|
||||
level.bots[i] = addtestclient();
|
||||
}
|
||||
}
|
||||
|
||||
flag_wait( "initial_blackscreen_passed" );
|
||||
|
||||
player giveWeapon("ray_gun_zm");
|
||||
player giveMaxAmmo("ray_gun_zm");
|
||||
}
|
Reference in New Issue
Block a user