Permanency, Variant (5e Spell)
From D&D Wiki
|Casting time:||1 hour|
|Components:||V, S, M (a jewel worth at least 1,000 gp, which the spell consumes)|
After you cast permanency, start casting a second spell which will become permanent. The second spell must be 5th level or lower. The second spell must not already have a method of becoming permanent (bestow curse or teleportation circle) or a permanent variant (polymorph and true polymorph). The second spell must have a duration of 1 round or longer and must be a spell that targets yourself, another creature who is willing, an object that you own, or an ongoing magical effect.
If a permanent spell effect is targeted by the spell dispel magic the effect stops until you finish a long rest.