Similar theme to this, could you allow AI units to move in combat and THEN use a special ability, if it is helpful for the creature getting closer as well as using the special ability?
Also, if you are feeling devious, rather than an AI unit in combat to not move away from any human-controlled unit once it is next to one, for the AI to be able to break off melee attack with one powerful human-controlled unit to attack a low HP or low armor unit, if the AI thinks it has a good chance of killing it soon?
I vote yes on these, especially the last note.
I will be happy (as I am being beaten) to see the AI take some units out of melee just to smash my 1 HP Spearmen, or those squishy Archers over there.
To start with, it doesn't have to be a perfect script, but if the AI is doing combat with a 20 Defense unit, and is within movement range of a 0 Defense unit, it should try to reach that squishie!.
Same line if there is two different 20 Defense units, but one is at 10% HP (and the other at 100% HP), it should try to move towards the 10% HP, but still end its turn in a position where it can make an attack!
Also the first post is a nice idea, but these feels more important to me 
Sincerely
~ Kongdej