return FALSE;
}
- if(e.freezetag_frozen)
+ if(e.frozen)
return FALSE;
// If neither player has ball then don't attack unless the ball is on the
return FALSE;
}
else if(bot_ignore_bots)
- if(clienttype(e) == CLIENTTYPE_BOT)
+ if(IS_BOT_CLIENT(e))
return FALSE;
if (!e.takedamage)
return FALSE;
if (e.BUTTON_CHAT)
return FALSE;
- if(g_minstagib)
- if(e.items & IT_STRENGTH)
- return FALSE;
if(e.flags & FL_NOTARGET)
return FALSE;
+
+ checkentity = e;
+ if(MUTATOR_CALLHOOK(BotShouldAttack))
+ return FALSE;
+
return TRUE;
}