When you finish a short or long rest you can
choose one damage type; while your eldritch
armor is active and an enemy hits you with a
melee attack, you can use your reaction to
inflict damage of the chosen type equal to
your Charisma modifier to the attacker.