From 69963f49b432d0a1e01a711498a928dc7a5721d7 Mon Sep 17 00:00:00 2001 From: jeefo Date: Sun, 26 Nov 2023 01:54:47 +0300 Subject: [PATCH] bot: zero out seeking cover chance on csdm ... thus not seek to cover or hiding when playing csdm --- src/botlib.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/botlib.cpp b/src/botlib.cpp index 3aa132e..0727636 100644 --- a/src/botlib.cpp +++ b/src/botlib.cpp @@ -1907,6 +1907,9 @@ void Bot::filterTasks () { else if (m_isCreature) { ratio = 0.0f; } + else if (game.is (GameFlags::CSDM)) { + ratio = 0.0f; + } else { ratio /= 2.0f; // reduce seek cover otherwise }