From 5694f121435d4da35b346fe78afbca76169a31a1 Mon Sep 17 00:00:00 2001 From: jenz Date: Mon, 30 Jan 2023 13:12:48 +0100 Subject: [PATCH] hopefully stops knifing as zm just --- AutismBotIngame/python/ingamefollowct.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/AutismBotIngame/python/ingamefollowct.py b/AutismBotIngame/python/ingamefollowct.py index 829617f7..125ff06b 100644 --- a/AutismBotIngame/python/ingamefollowct.py +++ b/AutismBotIngame/python/ingamefollowct.py @@ -43,9 +43,8 @@ def bot_process_movement(input_line): enemy_distance = float(enemy_distance) targeteam = int(targeteam) #request by bane that bots should simply not infect people shrug - if targeteam == 2: - strInput = "-attack; wait 2; -use; wait 5; wait 5; cl_minmodels 1; wait 2; +use; wait 5; " - else: + strInput = "-attack; wait 2; -use; wait 5; -attack; wait 5; cl_minmodels 1; wait 2; +use; wait 5; " + if targetteam == 3: strInput = "-attack; wait 2; -use; wait 5; +attack; wait 5; cl_minmodels 1; wait 2; +use; wait 5; " #python has no switches and such if state in [5, 7]: