1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-17 02:28:06 -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

@ -99,7 +99,6 @@
* No longer disables HUD * No longer disables HUD
* Disables player's perks for 30 seconds * Disables player's perks for 30 seconds
* Added fx to EMP'd players * Added fx to EMP'd players
* Makes downed players bleed out
* Decreased zombie EMP radius by 30% (same radius as perk EMP) * Decreased zombie EMP radius by 30% (same radius as perk EMP)
* Sprinting no longer wakes up EMP'd zombies * Sprinting no longer wakes up EMP'd zombies
@ -384,7 +383,7 @@
* Max Ammo: unloads clip of all enemy players' weapons * Max Ammo: unloads clip of all enemy players' weapons
* Double Points: enemy players gain half points for 30 seconds * Double Points: enemy players gain half points for 30 seconds
* Insta Kill: enemy players deal half damage for 30 seconds * Insta Kill: enemy players deal half damage for 30 seconds
* Nuke: deals 80 damage to all enemy players * Nuke: deals 80 damage to all alive enemy players and makes all downed enemy players bleed out
* Added kill feed (includes downs, revives, and bleed outs) * Added kill feed (includes downs, revives, and bleed outs)
* Added player kills on scoreboard * Added player kills on scoreboard
* Added player downed and bled out icons on scoreboard * Added player downed and bled out icons on scoreboard

View File

@ -209,6 +209,10 @@ nuke_powerup( drop_item, player_team )
{ {
radiusDamage(players[i].origin + (0, 0, 5), 10, 80, 80); 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) if(distancesquared(origin, player.origin) < rsquared)
{ {
player shellshock( "frag_grenade_mp", 2 ); if(is_player_valid(player) || player maps/mp/zombies/_zm_laststand::player_is_in_laststand())
if(is_player_valid(player))
{ {
time = 30; time = 30;
player shellshock( "frag_grenade_mp", 2 );
player thread player_perk_pause_and_unpause_all_perks(time); player thread player_perk_pause_and_unpause_all_perks(time);
player thread player_emp_fx(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();
}
} }
} }
} }