You can set a priority for visiting based on difficulty. The lower the difficulty, the later the priority is given.
Added 3 minutes ago
I just checked the QuestionBoxForPlayers function. It seems that the AI player simply ignores it. And the functions that are activated when the "OK" or "Cancel" buttons are pressed are simply not executed.
I will definitely keep the priority system in mind, because I have objects on the map that work on the principle of a mine, and it would be very unfair to leave all of them for the player.
Added 5 minutes ago
It seemed to me that it would be a relatively good tactic to give AI heroes increased experience from the start (and a few extra troops as well).
I have repeatedly looked at the inner workings of your maps, and I can't remember on which one, maybe even on all of them, I saw the principle you described. I think giving a small bonus is a quite reasonable idea; I think I'll try giving the bot small bonuses every week, and then I'll see how it behaves.
It would also be good to use MakeHeroReturnToTavernAfterDeath, or something like that.
Therefore, I might make a limited number of deaths for the bot, and then this ability will be disabled. We need to take care of the players' nerves! :)
Будь яростней пред ночью всех ночей,
Не дай погаснуть свету своему!
Хоть мудрый знает – не осилишь тьму
Во мгле словами не зажжёшь лучей –
Не уходи безропотно во тьму.