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

Encounter: push amount changes

Encounter: remove push changing stance
This commit is contained in:
Jbleezy
2023-03-04 19:13:41 -08:00
parent cc69b72c84
commit 10f6ba4dba
2 changed files with 14 additions and 18 deletions

View File

@ -474,9 +474,9 @@
* Unlimited powerups
* Unlimited barrier rebuild points
* Decreased stun time of weapons from 0.75 seconds to 0.375 seconds
* Meleeing enemy players that are not reviving changes their stance to standing
* Meleeing enemy players that are reviving and crouched pushes 25% of the amount when standing
* Meleeing enemy players that are reviving and prone pushes 12.5% of the amount when standing
* Meleeing enemy players that are crouched pushes 25% less
* Meleeing enemy players that are prone pushes 50% less
* Meleeing enemy players that are reviving pushes 50% less
* Meleeing enemy players that are already stunned from weapons will push and restun them
* Ballistic knife projectile pushes enemy players
* Claymores are no longer triggered by enemy players

View File

@ -1720,18 +1720,27 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
is_melee = true;
dir = vdir;
amount = 420; // 48 units
if(self getStance() == "crouch")
{
amount = 327.5; // 36 units
}
else if(self getStance() == "prone")
{
amount = 235; // 24 units
}
if(self maps\mp\zombies\_zm_laststand::is_reviving_any())
{
is_reviving = true;
amount = 235; // 24 units
if(self getStance() == "crouch")
{
amount = 142.5; // 12 units
amount = 187.5; // 18 units
}
else if(self getStance() == "prone")
{
amount = 95; // 6 units
amount = 142.5; // 12 units
}
}
@ -1821,13 +1830,6 @@ do_game_mode_shellshock(is_melee, is_reviving)
if(is_melee)
{
time = 0.75;
if(!is_reviving)
{
self setStance("stand");
self allowCrouch(0);
self allowProne(0);
}
}
self._being_shellshocked = 1;
@ -1838,12 +1840,6 @@ do_game_mode_shellshock(is_melee, is_reviving)
self._being_shellshocked = 0;
self._being_pushed = 0;
if(is_melee && !is_reviving && is_player_valid(self))
{
self allowCrouch(1);
self allowProne(1);
}
}
stun_score_steal(attacker, score)