set g_balance_vore_digestion_limit_blockrespawn 1 "dead prey cannot respawn if it's still being digested"\r
set g_balance_vore_digestion_vampire 0.15 "amount of health you gain from digestion off the damage you deal"\r
set g_balance_vore_digestion_vampire_stable 150 "maximum amount of health you can gain from digestion (best kept equal or less than g_balance_health_rotstable)"\r
-set g_balance_vore_digestion_distribute 1 "if enabled, digestion is reduced by the amount of prey you have. eg: having 2 prey will reduce digestion strength by 2"\r
+set g_balance_vore_digestion_distribute 0.1 "if enabled, digestion is reduced by the amount of stomach load you have by this amount"\r
set g_balance_vore_digestion_scalediff 0.5 "if enabled, digestion damage is affected by the size of the predator compared to the size of the prey by this amount"\r
set g_balance_vore_teamheal 1 "when enabled, having a team mate in your stomach will keep healing them by this amount"\r
set g_balance_vore_teamheal_stable 150 "maximum amount of health you can gain from a teamheal (best kept equal or less than g_balance_health_rotstable)"
\r
damage_offset = 1;\r
if(cvar("g_balance_vore_digestion_distribute")) // apply distributed digestion damage\r
- damage_offset *= self.predator.stomach_load / self.predator.stomach_maxload;\r
- damage_offset = ceil(damage_offset);\r
+ damage_offset *= (self.predator.stomach_load / self.predator.stomach_maxload) / cvar("g_balance_vore_digestion_distribute");\r
damage = cvar("g_balance_vore_digestion_damage_item") / damage_offset;\r
\r
self.health -= damage;\r
\r
damage_offset = 1;\r
if(cvar("g_balance_vore_digestion_distribute")) // apply distributed digestion damage\r
- damage_offset *= self.predator.stomach_load / self.predator.stomach_maxload;\r
+ damage_offset *= (self.predator.stomach_load / self.predator.stomach_maxload) / cvar("g_balance_vore_digestion_distribute");\r
if(cvar("g_healthsize") && cvar("g_balance_vore_digestion_scalediff")) // apply player scale to digestion damage\r
damage_offset *= pow(self.scale / self.predator.scale, cvar("g_balance_vore_digestion_scalediff"));\r
- damage_offset = ceil(damage_offset);\r
\r
damage = cvar("g_balance_vore_digestion_damage") / damage_offset;\r
if(cvar("g_balance_vore_digestion_damage_death") && self.deadflag != DEAD_NO) // amplify digestion damage for dead prey\r