From 1b93168c1dbf63a45adecd8318bacd783c23c996 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 9 Jul 2011 20:12:38 +0300 Subject: [PATCH] Base my last commit on bot skill --- data/qcsrc/server/bot/havocbot/vore_ai.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index afc9eab5..8fa47ddd 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -129,7 +129,8 @@ void Vore_AI() if(self.status_teamhealing > 1) // if we are teamhealing, there's nothing to do from here on return; - if not(self.swallow_progress_prey) // when a bot is being swallowed, he will try to swallow the enemy back in defense, forgetting about fear + // when a bot is being swallowed, he will try to swallow the enemy back in defense, forgetting about fear + if not(self.swallow_progress_prey * 10 >= 10 - skill) // 10 skill steps { if(prey.items & IT_STRENGTH) // avoid eating bots that have the Strenght powerup fear += cvar("bot_ai_vore_fear") * self.bot_vorefear; -- 2.39.2