Yep. This IA isn't very smart ...
In an SP game I am running these days, I have my EA Arcocephale 3A 1E 3N scripted as "Eagle Eye/Lighting Orb x4/ cast spells" for some [Medieval Fantasy r�plicas of Katiouchkas] casting 'breath of the Dragon' in my war against ... C'Tis !!! (at list 50% Poison resistant Lizards ...)
Very, very, very irritating (at most ...).
Also, as other threads allready complains, the horrible "'touch of madness' 3N mages illness" ...
The same with magic items management.
Two examples : an IA mage going into battle with a the 'research skull' (forget the name) and the biggest joke the game made to me : my Abysian fire mage with an eye of aiming picking up after killing an enemy mage ... another Eye of aiming !!!
Well. This is not very often, so, I don't complain a lot ...
But still, a little cleaning in the routine code will be welcome ;o)