damage = ceil(cvar("g_balance_vore_digestion_damage_item") / damage_offset);\r
\r
self.health -= damage;\r
- self.predator.health += damage;\r
+ if(self.predator.health + damage <= self.max_health)\r
+ self.predator.health += damage;\r
+ else if(self.predator.health < self.max_health)\r
+ self.predator.health = self.max_health;\r
self.predator.pauserothealth_finished = max(self.predator.pauserothealth_finished, time + cvar("g_balance_pause_health_rot"));\r
\r
self.item_digestion_step = time + vore_steptime;\r