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

Grief: swap EMP and Nuke player effects

This commit is contained in:
Jbleezy
2022-01-21 02:13:50 -08:00
parent f2678454b9
commit 40eff2525f
3 changed files with 7 additions and 9 deletions

View File

@ -209,6 +209,10 @@ nuke_powerup( drop_item, player_team )
{
radiusDamage(players[i].origin + (0, 0, 5), 10, 80, 80);
}
else if(players[i] maps/mp/zombies/_zm_laststand::player_is_in_laststand())
{
players[i] thread scripts/zm/zgrief/zgrief_reimagined::player_suicide();
}
}
}
}

View File

@ -51,18 +51,13 @@ emp_players(origin, radius, owner)
{
if(distancesquared(origin, player.origin) < rsquared)
{
player shellshock( "frag_grenade_mp", 2 );
if(is_player_valid(player))
if(is_player_valid(player) || player maps/mp/zombies/_zm_laststand::player_is_in_laststand())
{
time = 30;
player shellshock( "frag_grenade_mp", 2 );
player thread player_perk_pause_and_unpause_all_perks(time);
player thread player_emp_fx(time);
}
else if(player maps/mp/zombies/_zm_laststand::player_is_in_laststand())
{
player thread scripts/zm/zgrief/zgrief_reimagined::player_suicide();
}
}
}
}