1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-09 23:02:53 -05:00

Fix PHD Flopper explosions not activating

This commit is contained in:
Jbleezy
2022-01-22 22:59:09 -08:00
parent 281d8eafe2
commit 132fb33dbc

View File

@ -1903,7 +1903,7 @@ melee_weapon_disable_weapon_trading()
player_damage_override( einflictor, eattacker, idamage, idflags, smeansofdeath, sweapon, vpoint, vdir, shitloc, psoffsettime ) player_damage_override( einflictor, eattacker, idamage, idflags, smeansofdeath, sweapon, vpoint, vdir, shitloc, psoffsettime )
{ {
if(smeansofdeath == "MOD_FALLING") if(smeansofdeath == "MOD_FALLING" && !self hasPerk("specialty_flakjacket"))
{ {
// remove fall damage being based off max health // remove fall damage being based off max health
ratio = self.maxhealth / 100; ratio = self.maxhealth / 100;