1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 07:08:06 -05:00

Encounter: adjust push amounts

This commit is contained in:
Jbleezy
2023-09-19 06:35:40 -07:00
parent ddb935d81e
commit f711f0be49
2 changed files with 35 additions and 18 deletions

View File

@ -781,9 +781,10 @@
* Unupgraded weapons stun enemy players for 0.375 seconds
* Upgraded weapons stun enemy players for 0.5 seconds
* Melee weapons stun enemy players for 0.75 seconds
* Meleeing enemy players with an upgraded melee weapon pushes 25% more
* Meleeing enemy players that are crouched pushes 25% less
* Meleeing enemy players that are prone pushes 50% less
* Meleeing enemy players with an upgraded melee weapon pushes 33% more
* Meleeing enemy players that are in the air pushes 100% more
* Meleeing enemy players that are crouched pushes 33% less
* Meleeing enemy players that are prone pushes 66% less
* Meleeing enemy players that are reviving pushes 50% less
* Meleeing enemy players that are already stunned from weapons will push and restun them
* Ballistic knife projectile pushes enemy players
@ -795,7 +796,7 @@
* Downing enemy players awards 500 points
* Bleeding out enemy players awards 1000 points to all teammates
* Landing on top of an enemy player that is prone downs them
* Increased max radius for landing on top of an enemy player by 16.67%
* Increased max radius for landing on top of an enemy player by 16.66%
* Decreased max height for landing on top of an enemy player by 50%
* M1911 upgraded: decreased stock ammo from 50 to 24
* Powerups: decreased chance to drop from 3% to 2%

View File

@ -1830,32 +1830,40 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
{
if (idamage >= 500)
{
if (self getStance() == "stand")
if (!self isOnGround())
{
amount = 280; // 30 units
amount = 185; // 64 air units
}
else if (self getStance() == "stand")
{
amount = 297.5; // 32 units
}
if (self getStance() == "crouch")
{
amount = 225; // 22.5 units
amount = 215; // 21.33 units
}
else if (self getStance() == "prone")
{
amount = 166.25; // 15 units
amount = 132.5; // 10.66 units
}
}
else
{
if (self getStance() == "stand")
if (!self isOnGround())
{
amount = 142.5; // 48 air units
}
else if (self getStance() == "stand")
{
amount = 235; // 24 units
}
if (self getStance() == "crouch")
{
amount = 187.5; // 18 units
amount = 172.5; // 16 units
}
else if (self getStance() == "prone")
{
amount = 142.5; // 12 units
amount = 112.5; // 8 units
}
}
}
@ -1863,32 +1871,40 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
{
if (idamage >= 500)
{
if (self getStance() == "stand")
if (!self isOnGround())
{
amount = 510; // 60 units
amount = 350; // 128 air units
}
else if (self getStance() == "stand")
{
amount = 540; // 64 units
}
if (self getStance() == "crouch")
{
amount = 395; // 45 units
amount = 377.5; // 42.66 units
}
else if (self getStance() == "prone")
{
amount = 280; // 30 units
amount = 215; // 21.33 units
}
}
else
{
if (self getStance() == "stand")
if (!self isOnGround())
{
amount = 265; // 96 air units
}
else if (self getStance() == "stand")
{
amount = 420; // 48 units
}
if (self getStance() == "crouch")
{
amount = 327.5; // 36 units
amount = 297.5; // 32 units
}
else if (self getStance() == "prone")
{
amount = 235; // 24 units
amount = 172.5; // 16 units
}
}
}