1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-07 04:18:49 -05:00

Encounter: headstomp downs both players

This commit is contained in:
Jbleezy
2022-09-08 14:46:47 -07:00
parent b76b2297f3
commit 41837b56f5
2 changed files with 4 additions and 1 deletions

View File

@ -462,7 +462,7 @@
* Meleeing enemy players steals 100 points from them
* Downing enemy players awards 500 points
* Bleeding out enemy players awards 1000 points to all teammates
* Landing on top of an enemy player downs only the bottom player
* Landing on top of an enemy player downs both players
* Landing on top of an enemy player only occurs if the bottom player is prone
* Increased max radius for landing on top of an enemy player by 16.67%
* Decreased max height for landing on top of an enemy player by 50%

View File

@ -975,6 +975,9 @@ headstomp_watcher()
{
if(distance2d(self.origin, player.origin) <= 21 && (self.origin[2] - player_top_origin[2]) <= 15)
{
self store_player_damage_info(player, "none", "MOD_FALLING");
self dodamage( 1000, (0, 0, 0) );
player store_player_damage_info(self, "none", "MOD_FALLING");
player dodamage( 1000, (0, 0, 0) );
}