1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-09 13:28:15 -05:00

Fall damage no longer increases

This commit is contained in:
Jbleezy
2020-03-11 00:22:26 -07:00
parent 72feb37b85
commit 6c3eafd063
2 changed files with 14 additions and 0 deletions

View File

@ -15,6 +15,7 @@
## Players
* Unlimited sprint
* 100% backwards speed, strafe speed, and sprint strafe speed
* Fall damage no longer increases when max health is increased
* Disabled melee lunging
* Can shoot when looking at other players
* Mantle faster

View File

@ -95,6 +95,8 @@ post_all_players_spawned()
wait 0.05;
maps/mp/zombies/_zm::register_player_damage_callback( ::player_damage_override );
disable_high_round_walkers();
disable_perk_pause();
@ -1311,6 +1313,17 @@ set_player_lethal_grenade_semtex()
self setweaponammoclip( self get_player_lethal_grenade(), 0 );
}
player_damage_override( einflictor, eattacker, idamage, idflags, smeansofdeath, sweapon, vpoint, vdir, shitloc, psoffsettime )
{
if (smeansofdeath == "MOD_FALLING")
{
ratio = self.maxhealth / 100;
idamage = int(idamage / ratio);
}
return idamage;
}
disable_high_round_walkers()
{
level.speed_change_round = undefined;