Basicly to make the job easier the devs usually make combos (in every combat game) so the AI tries to find a known pattern at the battlefied and this triggers the respective combos.
So far the combo the AI likes most is to cast "sleep" on the archers and to hit them ASAP with their ranged attack