- 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
if(self.predator.digesting) // our predator is digesting, so get out of him regardless of who he is
self.BUTTON_JUMP = TRUE; // leave
- else if not(g_rpg && cvar("g_rpg_botattack") < 2)
+ else if not((g_rpg && cvar("g_rpg_botattack") < 2) || !cvar("g_vore_digestion")) // don't leave when gentle vore is enabled
{
if not(teams_matter && self.team == self.predator.team && cvar("g_balance_vore_teamheal") && self.health < cvar("g_balance_vore_teamheal_stable")) // we are being team healed, don't leave
if not(teams_matter && self.team == self.predator.team && cvar("bot_ai_vore_stayinstomach")) // bots are not supposed to leave a team mate's stomach automatically