mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-12 08:08:00 -05:00
Grief: ballistic knife projectile pushes enemy players
This commit is contained in:
@ -328,6 +328,7 @@
|
|||||||
* Meleeing enemy players that are crouched pushes 37.5% of the amount when standing
|
* 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 prone pushes 18.75% of the amount when standing
|
||||||
* Meleeing enemy players that are already stunned will push them
|
* 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 is linked to the player
|
||||||
* Stun fx shows in the correct position for projectiles
|
* Stun fx shows in the correct position for projectiles
|
||||||
* Stunning enemy players steals 100 points from them
|
* Stunning enemy players steals 100 points from them
|
||||||
|
@ -1180,7 +1180,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
|
|||||||
}
|
}
|
||||||
|
|
||||||
is_melee = false;
|
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;
|
is_melee = true;
|
||||||
dir = vdir;
|
dir = vdir;
|
||||||
|
Reference in New Issue
Block a user