[RPG] Does a cantrip count as a spell for the purpose of Wish’s penalties

cantripsdnd-5espellswish

Let's say I somehow am able to cast Wish, be it through a scroll, a Ring of Three Wishes, or some other DM-approved method. I then choose, instead of duplicating a spell, to imbue myself and my party members with resistance against, let's say, slashing damage.

Now, Wish states that "The stress of casting this spell to produce any effect other than duplicating another spell weakens you. After enduring that stress, each time you Cast a Spell until you finish a Long Rest, you take 1d10 necrotic damage per level of that spell."

My question, then, is: Would a cantrip still count as casting a spell and incur the 1d10 damage penalty, or would it not trigger since cantrips aren't assigned a level? Say you're a Warlock, and thus your usual go-to is the Eldritch Blast cantrip.

Best Answer

You take 0(0d10) damage for casting a cantrip

Saying that "you take 1d10 necrotic damage per level of that spell" is the same as saying that you take Xd10 necrotic damage, where X is the level of the spell being cast.

That being the case, since "Cantrips [...] are level 0. (PHB 201)" you take 0d10 damage.