Mage Slayer: When a creature within 5 feet of you casts a spell, you can use your reaction to make a melee weapon attack against that creature.
If a creature within 5 feet you casts a cantrip, can the reaction attack be used?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Role-playing Games Stack Exchange is a question and answer site for gamemasters and players of tabletop, paper-and-pencil role-playing games. It only takes a minute to sign up.Sign up to join this community
Yes, because cantrips are spells, per 5e SRD - Spellcasting:
A cantrip is a spell that can be cast at will, without using a spell slot and without being prepared in advance. Repeated practice has fixed the spell in the caster’s mind and infused the caster with the magic needed to produce the effect over and over. A cantrip’s spell level is 0.
You only need to ask, "has the creature cast a spell?"
If you answer yes, you can use your reaction to make a melee weapon attack against that creature.
If the wording specified a spell of level one or higher, then cantrips would not trigger the reaction.