Auto-translated
How do I disable automatic battles on the map with a specific enemy (story) hero?
Added 30 seconds ago
Which xdb file can I edit with Notepad to do this, and what should I write?
Added 6 minutes ago
Yes, I think that's it. In the main .xdb file of the map (usually the largest xdb file by weight), look for the string "true" (true/false); it seems to be responsible for this. Basically, false means you fight, and true means you can use automatic battles.
P.S. And yes, each hero on the map from the Campaigns has this. So, look carefully at which hero you are editing this for
"Я слишком часто имел дело с идиoтами, чтобы к троллям были какие-то претензии" © Дийкстра (The Witcher 3)