1
0
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:
Jbleezy
2022-01-08 06:38:16 -08:00
parent 437e23f83a
commit c65b68647c
3 changed files with 18 additions and 1 deletions

View File

@ -98,6 +98,8 @@
* Sprinting no longer wakes up EMP'd zombies * Sprinting no longer wakes up EMP'd zombies
### Ray Gun ### Ray Gun
* Unupgraded: increased impact damage from 1000 to 1500 (same as max splash damage)
* Upgraded: increased impact damage from 1000 to 2000 (same as max splash damage)
* No longer limited to 4 players * No longer limited to 4 players
### Ray Gun Mark 2 ### Ray Gun Mark 2

View File

@ -120,6 +120,16 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon,
attacker thread maps/mp/gametypes_zm/_weapons::checkhit( 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") if(maps/mp/zombies/_zm_weapons::get_base_weapon_name(weapon, 1) == "saritch_zm")
{ {
final_damage *= 2; final_damage *= 2;

View File

@ -1772,7 +1772,7 @@ zombie_damage( mod, hit_location, hit_origin, player, amount, team )
self dodamage( damage, self.origin, undefined, self, hit_location, modname ); 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; damage = 1000;
if ( isDefined( player ) && isalive( player ) ) if ( isDefined( player ) && isalive( player ) )
@ -1968,4 +1968,9 @@ spawn_bots(num)
level.bots[i] = addtestclient(); level.bots[i] = addtestclient();
} }
} }
flag_wait( "initial_blackscreen_passed" );
player giveWeapon("ray_gun_zm");
player giveMaxAmmo("ray_gun_zm");
} }