From 8867b63f988a1939f2644d63f9e3cde1b3b5c105 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sun, 26 Sep 2010 14:11:04 +0300 Subject: [PATCH] Vore AI: Don't eat (teamheal) a team mate who is holding down a fire button --- 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 f037bfb1..24a72152 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -69,6 +69,7 @@ void Vore_AI_Teamheal(entity prey) if(prey.health < cvar("g_balance_vore_teamheal_stable")) if not(prey.digesting) // if our team mate is digesting someone, he likely wouldn't want us ruining his frag if not(prey.flagcarried) // don't eat the flag carrier and ruin his job + if not(prey.BUTTON_ATCK || prey.BUTTON_ATCK2) // our team mate wouldn't want us eating him while he's firing self.BUTTON_ATCK = TRUE; // swallow the team mate } -- 2.39.2