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

Fix health regen

This commit is contained in:
Jbleezy
2023-04-10 21:38:48 -07:00
parent deae113b28
commit b164ddd1ba

View File

@ -58,8 +58,8 @@ playerhealthregen()
health_ratio = self.health / self.maxhealth; health_ratio = self.health / self.maxhealth;
maxhealthratio = self.maxhealth / 100; maxhealthratio = self.maxhealth / 100;
regenrate = 0.05 / maxhealthratio; regenrate = 0.05 / maxhealthratio;
regularregendelay = 2000; regularregendelay = level.playerhealth_regularregendelay;
longregendelay = 4000; longregendelay = level.longregentime;
if (self hasPerk("specialty_quickrevive")) if (self hasPerk("specialty_quickrevive"))
{ {
@ -79,6 +79,7 @@ playerhealthregen()
if ( self.health == self.maxhealth ) if ( self.health == self.maxhealth )
{ {
oldratio = 1;
continue; continue;
} }
} }