Any creature making a melee attack against a target protected by Armor of Agathys (i.e., still has at least 1 temporary hit point) takes 5 cold damage. When the spell is cast with a 2nd level or higher spell slot, this damage is increased by 5 for each level above 1st.