mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 07:37:56 -05:00
Grief: add bleedout score
This commit is contained in:
@ -245,6 +245,7 @@
|
|||||||
* Players can be stunned from melee by enemy players while already stunned
|
* Players can be stunned from melee by enemy players while already stunned
|
||||||
* Stunning enemy players steals 10 points from them
|
* Stunning enemy players steals 10 points from them
|
||||||
* Downing enemy players awards 5% of their current points
|
* Downing enemy players awards 5% of their current points
|
||||||
|
* Bleeding out enemy players awards 10% of your current points to all teammates
|
||||||
* Landing on top of an enemy player downs them
|
* Landing on top of an enemy player downs them
|
||||||
* Added kill feed (includes downs, revives, and bleedouts)
|
* Added kill feed (includes downs, revives, and bleedouts)
|
||||||
* Added player kills on scoreboard
|
* Added player kills on scoreboard
|
||||||
|
@ -204,6 +204,7 @@ on_player_bleedout()
|
|||||||
|
|
||||||
self.statusicon = "hud_status_dead";
|
self.statusicon = "hud_status_dead";
|
||||||
self bleedout_feed();
|
self bleedout_feed();
|
||||||
|
self add_grief_bleedout_score();
|
||||||
level thread update_players_on_bleedout( self );
|
level thread update_players_on_bleedout( self );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -262,6 +263,19 @@ add_grief_downed_score()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_grief_bleedout_score()
|
||||||
|
{
|
||||||
|
players = get_players();
|
||||||
|
foreach(player in players)
|
||||||
|
{
|
||||||
|
if(is_player_valid(player) && player.team != self.team)
|
||||||
|
{
|
||||||
|
points = round_up_to_ten(int(player.score * level.zombie_vars["penalty_no_revive"]));
|
||||||
|
player maps/mp/zombies/_zm_score::add_to_player_score(points);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
init_round_start_wait(time)
|
init_round_start_wait(time)
|
||||||
{
|
{
|
||||||
flag_clear("spawn_zombies");
|
flag_clear("spawn_zombies");
|
||||||
|
Reference in New Issue
Block a user