if(self.status_teamhealing > 1) // if we are teamhealing, there's nothing to do from here on
return;
- if(!cvar("g_vore_reversescoring")) // when reverse scoring is on, it's in the interest of the prey to get eaten, so the predator has nothing to fear
+ if(prey.classname == "player" && !cvar("g_vore_reversescoring")) // when reverse scoring is on, it's in the interest of the prey to get eaten, so the predator has nothing to fear
{
if(skill >= 3) // make bots aware of this from skill 3 and up
fear *= 1 + self.stomach_load / self.stomach_maxload; // the bigger our stomach, the less we want to put someone else in there
if(speedclamp)\r
accelqw = -accelqw;\r
\r
- if(cvar("g_balance_vore_load_pred_weight") > 0) // apply stomach weight\r
- wishspeed /= 1 + (self.stomach_load / self.stomach_maxload) * cvar("g_balance_vore_load_pred_speed");\r
- if(cvar("g_healthsize")) // if we are smaller or larger, we run slower or faster\r
- wishspeed *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale; \r
- if(self.swallow_progress_prey) // cut speed based on swallow progress for prey\r
- wishspeed *= 1 - (self.swallow_progress_prey * cvar("g_balance_vore_swallow_speed_cutspd_prey"));\r
- if(self.swallow_progress_pred) // cut speed based on swallow progress for preds\r
- wishspeed *= 1 - (self.swallow_progress_pred * cvar("g_balance_vore_swallow_speed_cutspd_pred"));\r
+ if(self.classname == "player")\r
+ {\r
+ if(cvar("g_balance_vore_load_pred_weight") > 0) // apply stomach weight\r
+ wishspeed /= 1 + (self.stomach_load / self.stomach_maxload) * cvar("g_balance_vore_load_pred_speed");\r
+ if(cvar("g_healthsize")) // if we are smaller or larger, we run slower or faster\r
+ wishspeed *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale; \r
+ if(self.swallow_progress_prey) // cut speed based on swallow progress for prey\r
+ wishspeed *= 1 - (self.swallow_progress_prey * cvar("g_balance_vore_swallow_speed_cutspd_prey"));\r
+ if(self.swallow_progress_pred) // cut speed based on swallow progress for preds\r
+ wishspeed *= 1 - (self.swallow_progress_pred * cvar("g_balance_vore_swallow_speed_cutspd_pred"));\r
+ }\r
\r
if(cvar("sv_gameplayfix_q2airaccelerate"))\r
wishspeed0 = wishspeed;\r