There is numerous cards that cast to benefit specific troop types but the AI is not smart enough to target that type.
In order to remain competitive is it possible for AI to start looking if that troop type is available and if so target that type ?
Just to name a few:
Spark grinder & Carnex
If those 2 are remaining, grinder is dwarf and Carnex is Mech and grinder will target itself more then Carnex, it’s like punishment for using grinder
Dark song - won’t target green mana most of the time
The list goes on…