Great humor! "Smart AI" ))) Even though it's as dumb as a doorknob.
The fact that it builds a Castle in 2 days and other nonsense only indicates that you are playing a gay, unorthodox WoG.
I didn't delve too deeply into the scripts because I don't want any "gay" stuff, as you put it. The only scripts enabled are: a standard set of experience gains for the AI, building twice a day, and double movement points. I know, it's not glamorous, but considering how much time my friends and I spend on average playing Heroes, and naturally, given the pace of the game on large maps, it's easy to understand in WoG.
I didn't notice the AI behaving too unnaturally - almost everything it had could have been obtained by the specified time. Much of this is well documented in the FizMig. And if it's an author's map, the AI may have had a lot of things initially (as the author intended). But I did notice something - for example, flight, DD. There is a topic on the forum about this - how the AI cheats, take a look at it.
So, having none of the mines except the lumber mill and quarry, it had a rather impressive army, even with azure dragons from three dwellings, which were in this dead end. Well, and the bot, of course, put up a good fight. It was upgraded and equipped with all sorts of goodies and even powerful artifacts. Where did it get them?
I only need one thing - to prevent the AI from creating a bunch of heroes.