From: MirceaKitsune Date: Sat, 19 Nov 2011 15:16:47 +0000 (+0200) Subject: Health rot needs to pause when gaining health from normal digestion too! X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fbe0b113081f0bd649f6905b0cae6221efc9d8f2;p=voretournament%2Fvoretournament.git Health rot needs to pause when gaining health from normal digestion too! --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index c2f1ee31..87156608 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -464,7 +464,10 @@ void Vore_Digest() Damage(self, self.predator, self.predator, damage, DEATH_DIGESTION, self.origin, '0 0 0'); if(cvar("g_balance_vore_digestion_vampire") && self.predator.health < cvar("g_balance_vore_digestion_vampire_stable")) + { self.predator.health += damage * cvar("g_balance_vore_digestion_vampire"); + self.predator.pauserothealth_finished = max(self.predator.pauserothealth_finished, time + cvar("g_balance_pause_health_rot")); + } self.digestion_step = time + vore_steptime; } diff --git a/docs/Release notes.txt b/docs/Release notes.txt index 666131da..b6c6cfe8 100644 --- a/docs/Release notes.txt +++ b/docs/Release notes.txt @@ -268,6 +268,8 @@ Bug fixes: - Correct a bug that caused distributed digestion to work in reverse, and amplify instead of reducing. +- Fix health rot not pausing when gaining health from digestion. + Features: - 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.