1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 23:27:57 -05:00

Grief: ballistic knife projectile pushes enemy players

This commit is contained in:
Jbleezy
2022-01-06 17:24:11 -08:00
parent 591015b76e
commit a416983d93
2 changed files with 2 additions and 1 deletions

View File

@ -328,6 +328,7 @@
* Meleeing enemy players that are crouched pushes 37.5% of the amount when standing
* Meleeing enemy players that are prone pushes 18.75% of the amount when standing
* Meleeing enemy players that are already stunned will push them
* Ballistic knife projectile pushes enemy players
* Stun fx is linked to the player
* Stun fx shows in the correct position for projectiles
* Stunning enemy players steals 100 points from them

View File

@ -1180,7 +1180,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
}
is_melee = false;
if ( isDefined( eattacker ) && isplayer( eattacker ) && eattacker != self && eattacker.team != self.team && smeansofdeath == "MOD_MELEE" )
if(isDefined(eattacker) && isplayer(eattacker) && eattacker != self && eattacker.team != self.team && (smeansofdeath == "MOD_MELEE" || issubstr(sweapon, "knife_ballistic")))
{
is_melee = true;
dir = vdir;