Limited Spell Immunity (5e Spell)
From D&D Wiki
|Casting time:||1 action|
|Components:||V,S,M (divine focus)|
The warded creature is immune to the effects of one specified spell that you have prepared or know of. The spells must be of 4th level or lower. The warded creature is unaffected by the specified spell. Limited Spell immunity protects against spells, spell-like effects of magic items, and innate spell-like abilities of creatures. It does not protect against attacks such as breath weapons or gaze attacks. A creature that is unwilling makes a Wisdom saving throw against your spell DC. A successful save negates this spell.
Only a particular spell can be protected against, not a certain domain or school of spells or a group of spells that are similar in effect.
A creature can have only one limited spell immunity spell in effect on it at a time.
At Higher Levels. When you cast this spell using a spell slot of 6th or higher, you can choose 1 additional spell that the target is warded from. When using a 8th or higher spell slot, you can choose 2 additional spells that the target is warded from.