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

Grief: fix stun fx position for projectiles

This commit is contained in:
Jbleezy
2021-12-29 00:41:24 -08:00
parent e8b3d4d3d4
commit 4086ae268b
2 changed files with 2 additions and 1 deletions

View File

@ -288,6 +288,7 @@
* 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 will push them
* Stun fx shows in the correct position for projectiles
* Stunning enemy players steals 10 points from them
* Downing enemy players awards 5% of their current points
* Bleeding out enemy players awards 10% of your current points to all teammates

View File

@ -963,7 +963,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
if ( isDefined( level._effect[ "butterflies" ] ) )
{
if ( isDefined( sweapon ) && weapontype( sweapon ) == "grenade" )
if ( (isDefined( sweapon ) && weapontype( sweapon ) == "grenade") || (isDefined( sweapon ) && weapontype( sweapon ) == "projectile") )
{
playfx( level._effect[ "butterflies" ], self.origin + vectorScale( ( 1, 1, 1 ), 40 ) );
}