From 4142bb59559f429ee88e3b9f1f37cf67e90528bb Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 4 Oct 2010 13:40:11 +0300 Subject: [PATCH] Vore AI: Don't eat someone with spawn shield active, since this means they're invincible and we take stomach kicks for no reason --- data/qcsrc/server/bot/havocbot/vore_ai.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index 207f9055..8a18c2e7 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -5,6 +5,7 @@ float Swallow_condition_check_bot(entity prey) // checks the necessary conditions for a bot to swallow a player if(Swallow_condition_check(prey)) // check the normal conditions of the vore system + if(time >= prey.spawnshieldtime) if not(prey.BUTTON_CHAT) // don't eat players who are chatting if(self.health > cvar("g_balance_vore_kick_damage_max")) // explained below return TRUE; -- 2.39.2