I'm considering situations like:
AI city is surrounded by enemies, all at 100% hp. There's some algorithm that determines what to target, and when there are 3 type (melee, archer, siege), the AI will target the archer (!?). This is the least important target, and simply defaulting in that...