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:
@ -452,6 +452,7 @@
|
|||||||
* Decreased stun time of unupgraded weapons from 0.75 seconds to 0.375 seconds
|
* 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
|
* 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 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 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 prone pushes 25% of the amount when standing
|
||||||
* Meleeing enemy players that are already stunned from weapons will push and restun them
|
* Meleeing enemy players that are already stunned from weapons will push and restun them
|
||||||
|
@ -1677,6 +1677,11 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
|
|||||||
amount = 420; // 48 units
|
amount = 420; // 48 units
|
||||||
amount += (amount / 6.875) * int(idamage / 500); // 16.67% increase every 500 damage
|
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())
|
if(self isOnGround())
|
||||||
{
|
{
|
||||||
// don't move vertically if on ground
|
// don't move vertically if on ground
|
||||||
|
Reference in New Issue
Block a user