While holding this Shield, you have Resistance to damage from attacks made with Ranged weapons.
Curse. This Shield is cursed. Attuning to it curses you until you are targeted by a Remove Curse spell or similar magic. Removing the Shield fails to end the curse on you. Whenever an attack with a Ranged weapon targets a creature within 10 feet of you, the curse causes you to become the target instead.
RollQuest summary Resistance to damage from attacks made with Ranged weapons. Cursed: whenever a Ranged weapon attack targets a creature within 10 ft of you, you become the target instead.
RollQuest ships the D&D 2024 SRD as a content pack, on a 5e character sheet that does the maths - roll from the sheet and let the numbers work themselves out. Free to start.