1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-06 03:49:34 -05:00

Encounter: add back player revive push change

This commit is contained in:
Jbleezy
2022-08-15 15:37:22 -07:00
parent 468a68d873
commit 3301abd7d5
2 changed files with 6 additions and 0 deletions

View File

@ -452,6 +452,7 @@
* Decreased stun time of unupgraded weapons from 0.75 seconds to 0.375 seconds
* Decreased stun time of upgraded weapons from 0.75 seconds to 0.5 seconds
* Meleeing enemy players pushes 16.67% more for every 500 damage that melee weapon deals
* Meleeing enemy players that are reviving pushes 50% of the amount when standing (stacks with stance)
* Meleeing enemy players that are crouched pushes 50% of the amount when standing
* Meleeing enemy players that are prone pushes 25% of the amount when standing
* Meleeing enemy players that are already stunned from weapons will push and restun them

View File

@ -1677,6 +1677,11 @@ 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 /= 1.775; // 50%
}
if(self isOnGround())
{
// don't move vertically if on ground