bot: zero out seeking cover chance on csdm

... thus not seek to cover or hiding when playing csdm
This commit is contained in:
jeefo 2023-11-26 01:54:47 +03:00
commit 69963f49b4
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED

View file

@ -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
}