set g_balance_vore_swallow_stealprey 0.7 "probability of stealing someone's prey when eating them (when true their prey joins your stomach rather than popping out). 0 = never, 1 = always"\r
set g_balance_vore_swallow_dropweapon 0.6 "probability of dropping your weapon when swallowed. 0 = never and 1 = always, does not apply to team mates"\r
set g_balance_vore_swallow_punchangle 12 "your view gets tilted by this amount when swallowing someone"\r
-set g_balance_vore_regurgitate_damage 5 "Predators take this amount of damage whenever regurgitating someone (influenced by player scale difference)"\r
+set g_balance_vore_regurgitate_damage 5 "predators take this amount of damage whenever regurgitating someone (influenced by player scale difference)"\r
set g_balance_vore_regurgitate_speedcap 1200 "when a predator is going faster than this, their prey is squeezed out of them"\r
set g_balance_vore_regurgitate_swallowprogress 0.5 "regurgitated prey is given this amount of swallow progress, to simulate being more vulnerable (if slow swallowing is enabled)"\r
set g_balance_vore_regurgitate_force 600 "regurgitated players rocket out at this speed, in the direction the predator is facing"\r
{
if(time > self.decide_swallow)
{
- if(skill >= random() * 10) // there are 10 bot skill steps
+ // base the decision around HOW damaged the team mate is, centered around 100 health
+ if(skill * (100 / prey.health) >= random() * 10) // there are 10 bot skill steps
self.hold_BUTTON_ATCK = TRUE; // swallow the team mate
self.decide_swallow = time + cvar("bot_ai_vore_decide_swallow") / self.bot_vorethinkpred; // this is needed to take a proper decision, otherwise the code would execute each frame and return TRUE quickly
}