1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-15 09:38:01 -05:00

Encounter: Nuke makes enemy players lose 400 points

This commit is contained in:
Jbleezy
2023-03-20 16:46:28 -07:00
parent 330d16df84
commit dd98137bcc
2 changed files with 14 additions and 5 deletions

View File

@ -423,7 +423,6 @@
* Zombies spawn in the Farm zone when in the Barn zone * Zombies spawn in the Farm zone when in the Barn zone
* Replaced Olympia wallbuy with Remington 870 wallbuy * Replaced Olympia wallbuy with Remington 870 wallbuy
* Replaced Galvaknuckles wallbuy with Claymore wallbuy (also added to Grief) * Replaced Galvaknuckles wallbuy with Claymore wallbuy (also added to Grief)
* Grief: removed player spawns near gate
#### Power Station #### Power Station
* Added Survival and Grief game modes * Added Survival and Grief game modes
@ -469,10 +468,8 @@
* Players no longer respawn in the Acid Trap * Players no longer respawn in the Acid Trap
* Zombies spawn in the Docks zone when in the Docks Gates zone * Zombies spawn in the Docks zone when in the Docks Gates zone
* Zombies spawn in the Docks Gates zone when in the Docks zone * Zombies spawn in the Docks Gates zone when in the Docks zone
* Grief: added Smoke Grenades to the Mystery Box
#### Cell Block * Grief: added Richtofen Head meat powerup model
* Added Smoke Grenades to the Mystery Box
* Added Richtofen Head meat powerup model
#### Docks #### Docks
* Added Grief game mode * Added Grief game mode
@ -565,6 +562,7 @@
* Double Points: enemy players gain half points * Double Points: enemy players gain half points
* Insta Kill: decreased duration from 30 seconds to 15 seconds * Insta Kill: decreased duration from 30 seconds to 15 seconds
* Insta Kill: enemy players deal half damage * Insta Kill: enemy players deal half damage
* Nuke: enemy players lose 400 points
* Nuke: deals 80 damage to all alive enemy players * Nuke: deals 80 damage to all alive enemy players
* Nuke: makes all downed enemy players bleed out * Nuke: makes all downed enemy players bleed out
* Added teammate waypoint icons * Added teammate waypoint icons

View File

@ -242,6 +242,17 @@ nuke_powerup( drop_item, player_team )
{ {
if(is_player_valid(players[i])) if(is_player_valid(players[i]))
{ {
score = 400 * maps\mp\zombies\_zm_score::get_points_multiplier(player);
if(players[i].score < score)
{
players[i] maps\mp\zombies\_zm_score::minus_to_player_score(players[i].score);
}
else
{
players[i] maps\mp\zombies\_zm_score::minus_to_player_score(score);
}
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()) else if(players[i] maps\mp\zombies\_zm_laststand::player_is_in_laststand())