Its also not a bad AI considering how it was created. Dominions was created with a minimal plugged-in AI. And the game has grown in pieces. So even "easy" fixes dont tend to be so easy. Such as "use of lightning should mean use protection against lightning". But there does not seem to be a simplye single variable for lightning in the code. Each item and spell was coded separately without much in the way of categories. So the code would have to maintain a huge list of spells and counter items. Thats why we still find holes where some unit is supposed to be immune to something, or some spell isnt supposed to work. Because each one needs to be noticed and tagged.
We have gathered much info on what the AI does and doesnt do. What pretenders it uses well and which ones it doesnt. Units it uses well enough and which ones to avoid. Spells it prefers to use so we might be able to selectively grant more or less ability to use the ones we feel it uses well. Eventually I will use all of this to give us all a fantastic modded nation designed for no other purpose than to be a bigger better AI for the game. Of course this will be done by me creating some horribly crappy little mod that will instantly spur someone to show me up by doing it much MUCH better.
