(January 5th, 2016, 16:58)GreyWolf Wrote: I noticed right now that with the latest build the AI attempted to attack my Sprites with walking units, and lost while dealing no damage. Another Sprite was Black Sleep-ed by the AI in this battle, so maybe this was the reason for such a behaviour. Seems like it needs to be fixed.
That's...interesting, the AI shouldn't try to attack flying units with walking ones at all.
They didn't happen to have an invalid ranged attack that got switched into melee as a replacement?
Like Guardian Wind on the sprites and the enemy had bowmen?
The AI assigns it's own priority to every single unit and those that are invalid cannot get selected. Or at least that's what's supposed to happen, unless an immunity swaps the valid ranged attack into the invalid melee (which can even happen to the player).