if(self.eater.classname != "player" && self.stomach_load < cvar("g_balance_vore_swallow_limit") && self.deadflag == DEAD_NO) // we can't swallow players while inside someone's stomach ourselves
if not(cvar("g_vore_biggergut") && prey.stomach_load > self.stomach_load)
if(self.health > cvar("g_balance_vore_kick_damage_max")) // explained below
- if not(prey.team == self.team && teamplay)
+ if not(teamplay && prey.team == self.team)
return TRUE;
return FALSE;
}
{
// the higher the skill, the more the bot will kick in your stomack
if(skill >= random_try)
- if not(teams_matter && self.team == self.eater.team) // if someone from the same team somehow made it in the belly, don't kick the eater
+ if not(teamplay && prey.team == self.team) // if someone from the same team somehow made it in the belly, don't kick the eater
self.BUTTON_ATCK = TRUE; // kick
self.decide_delay2 = time + decide_prey; // time before the bot decides what to do with their predator