]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Health rot needs to pause when gaining health from normal digestion too!
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 19 Nov 2011 15:16:47 +0000 (17:16 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 19 Nov 2011 15:16:47 +0000 (17:16 +0200)
data/qcsrc/server/vore.qc
docs/Release notes.txt

index c2f1ee3173e0bb11fed6262e29657b4a0fecdc18..8715660833bc6997016f50461b80f888a179e604 100644 (file)
@@ -464,7 +464,10 @@ void Vore_Digest()
 \r
                Damage(self, self.predator, self.predator, damage, DEATH_DIGESTION, self.origin, '0 0 0');\r
                if(cvar("g_balance_vore_digestion_vampire") && self.predator.health < cvar("g_balance_vore_digestion_vampire_stable"))\r
+               {\r
                        self.predator.health += damage * cvar("g_balance_vore_digestion_vampire");\r
+                       self.predator.pauserothealth_finished = max(self.predator.pauserothealth_finished, time + cvar("g_balance_pause_health_rot"));\r
+               }\r
 \r
                self.digestion_step = time + vore_steptime;\r
        }\r
index 666131da3d1b598711b4d93a8314f21362776060..b6c6cfe8528c9239390ce572a5f76063410cfe82 100644 (file)
@@ -268,6 +268,8 @@ Bug fixes:
 \r
 - Correct a bug that caused distributed digestion to work in reverse, and amplify instead of reducing.\r
 \r
+- Fix health rot not pausing when gaining health from digestion.\r
+\r
 Features:\r
 \r
 - There is no longer a player swallow limit. Players have a stomach capacity (for predators) and a mass (for prey), both based on player scale. As long as your mass is not exceeded, you can keep swallowing players. This affects your weight and overall player capacity based on player size as well. eg: You might be able to eat only one large player, three tiny players, or two normal sized players at the same time. Stomach size will also reflect your capacity, not the player count, being bigger or smaller based on the prey inside and their size compared to yours. By default, a macro can swallow up to 15 mircos and a micro up to 1 macro.\r