1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 15:48:05 -05:00

Encounter: remove player revive push change

Encounter: decrease player stance push amount
This commit is contained in:
Jbleezy
2022-08-15 12:12:41 -07:00
parent 965d71b514
commit c46d4c99e9
2 changed files with 4 additions and 10 deletions

View File

@ -1677,11 +1677,6 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
amount = 420; // 48 units
amount += (amount / 6.875) * int(idamage / 500); // 16.67% increase every 500 damage
if(self maps/mp/zombies/_zm_laststand::is_reviving_any())
{
amount /= 2.95; // 25%
}
if(self isOnGround())
{
// don't move vertically if on ground
@ -1689,11 +1684,11 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
if(self getStance() == "crouch")
{
amount /= 1.275; // 75%
amount /= 1.775; // 50%
}
else if(self getStance() == "prone")
{
amount /= 1.775; // 50%
amount /= 2.95; // 25%
}
}