Damaged happens when the unit takes damage, Attacked happens when someone is just about to attack them, so if you have an Archer, just when she launches her arrow at the target the "Attacked" event happens while the "Takes Damage" event happens when the arrow hits the target.