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

PHD Flopper: players no longer take 1 fall damage when not diving

This commit is contained in:
Jbleezy 2024-04-04 21:10:20 -07:00
parent 226d47613a
commit bb4d7799ab
2 changed files with 7 additions and 3 deletions

View File

@ -667,6 +667,7 @@
* Added perk bottle model from Origins to all maps * Added perk bottle model from Origins to all maps
* Deals same damage on all maps * Deals same damage on all maps
* Damages all zombies at once on all maps * Damages all zombies at once on all maps
* Players no longer take 1 fall damage when not diving
### Deadshot Daiquiri ### Deadshot Daiquiri
* Increases bullet headshot damage by 100% * Increases bullet headshot damage by 100%

View File

@ -2138,11 +2138,14 @@ player_damage_override(einflictor, eattacker, idamage, idflags, smeansofdeath, s
if (smeansofdeath == "MOD_FALLING") if (smeansofdeath == "MOD_FALLING")
{ {
if (self hasperk("specialty_flakjacket") && isDefined(self.divetoprone) && self.divetoprone == 1) if (self hasperk("specialty_flakjacket"))
{ {
if (isDefined(level.zombiemode_divetonuke_perk_func)) if (is_true(self.divetoprone))
{ {
[[level.zombiemode_divetonuke_perk_func]](self, self.origin); if (isDefined(level.zombiemode_divetonuke_perk_func))
{
[[level.zombiemode_divetonuke_perk_func]](self, self.origin);
}
} }
return 0; return 0;