I wasn't hoping to reveal the random number about to decide the battle.
To explain: the enemy attacks your city with a bunch of melee units. They launch their first strike, the two closest ones are left with 3 or 4 four HPs. Your turn.
You can only use city defense and an archer, just enough to kill one of the two injured melees. Which one do you pick? If you knew which of the two has enough XPs to heal instantly on the next turn, that would be your target. The other one will either flee (human opponent) or bang himself against your city walls (AI) in a futile suicide attack. Hit the wrong unit and you could lose your ccity on the next turn...
Is there a way to find the AI's XP?