1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-26 15:13:04 -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

@ -152,6 +152,7 @@ empty_clip_move_hud( team )
nuke_powerup( drop_item, player_team )
{
location = drop_item.origin;
player = getClosest(location, get_players(player_team));
playfx( drop_item.fx, location );
level thread maps/mp/zombies/_zm_powerups::nuke_flash( player_team );
wait 0.5;
@ -216,7 +217,8 @@ nuke_powerup( drop_item, player_team )
}
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++;
}
players = get_players( player_team );