From: MirceaKitsune Date: Sat, 19 Nov 2011 15:14:52 +0000 (+0200) Subject: Pause health rot when gaining health from digesting items X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=971a9e96365bd8051a705ec38834420b8ba0d393;p=voretournament%2Fvoretournament.git Pause health rot when gaining health from digesting items --- diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index 6d9dfadf..975ea4ff 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -261,6 +261,7 @@ void Item_Consumable_Think() self.health -= damage; self.predator.health += damage; + self.predator.pauserothealth_finished = max(self.predator.pauserothealth_finished, time + cvar("g_balance_pause_health_rot")); self.item_digestion_step = time + vore_steptime; }