When a unit is enchanted with the Cloak of Flame, and an enemy attacks it and dies to the cloak of flame, the unit will still use a counter attack on the corpse. This renders the counter attack for that round useless, as it is expended without any purpose. It seems to me that the game should determine whether or not a unit is dead before it makes a counter attack.