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:
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user