1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-26 23:20:34 -05:00

Nuke: counts as kills for grabber

This commit is contained in:
Jbleezy
2022-02-05 02:10:00 -08:00
parent cbbfb1d887
commit 67102c4ed8
2 changed files with 6 additions and 3 deletions

View File

@ -264,13 +264,14 @@
## Powerups ## Powerups
### Insta Kill ### Insta Kill
* Grabbing while already active adds 30 seconds to timer instead of resetting timer to 30 seconds * Grabbing while already active adds to timer instead of resetting timer
### Double Points ### Double Points
* Grabbing while already active adds 30 seconds to timer instead of resetting timer to 30 seconds * Grabbing while already active adds to timer instead of resetting timer
### Nuke ### Nuke
* Kills all zombies instantly * Kills all zombies instantly
* Counts as kills for player who grabbed it
### Carpenter ### Carpenter
* Removed * Removed

View File

@ -152,6 +152,7 @@ empty_clip_move_hud( team )
nuke_powerup( drop_item, player_team ) nuke_powerup( drop_item, player_team )
{ {
location = drop_item.origin; location = drop_item.origin;
player = getClosest(location, get_players(player_team));
playfx( drop_item.fx, location ); playfx( drop_item.fx, location );
level thread maps/mp/zombies/_zm_powerups::nuke_flash( player_team ); level thread maps/mp/zombies/_zm_powerups::nuke_flash( player_team );
wait 0.5; wait 0.5;
@ -216,7 +217,8 @@ nuke_powerup( drop_item, player_team )
} }
zombies_nuked[ i ] playsound("evt_nuked"); zombies_nuked[ i ] playsound("evt_nuked");
} }
zombies_nuked[ i ] dodamage(zombies_nuked[i].health + 666, zombies_nuked[ i ].origin ); zombies_nuked[ i ].deathpoints_already_given = 1;
zombies_nuked[ i ] dodamage(zombies_nuked[i].health + 666, zombies_nuked[ i ].origin, player );
i++; i++;
} }
players = get_players( player_team ); players = get_players( player_team );