Status: AI performs complete search on unit's possible actions and looks for what results in the most damage dealt to the players or most health recovered to the enemies. I half expected this would take far too long to be playable, but it seems to be pretty quick (maybe units have less options than I estimated).