Improve AI for color-changing abilities

Is there any way to improve the AI when it comes to abilities that change targeted tiles colors? I'd like to invest more in Black Widow Grey Suit but she's terrible on defense due to the AI's incompetence when using her Purple skill. I'm fairly certain it just chooses at random, when it could be making crit tiles. At the very least have it prioritize tiles adjacent to 2 other green tiles to make 3-matches... Can this be done or is it too difficult to program that way?