Prepared Ambush
In learning to combat dangerous targets, you know how to place a magical trap, waiting to be sprung. When you cast a spell that targets a single creature or area using a spell slot of 1st level or higher, you can weave that spell into your surroundings, having no immediate effect. The spell is cast when it is triggered by something, which you decide at the time of setting the trap, such as entering an area, getting within a certain distance, or manipulating an object. You can also set conditions for creatures that don’t trigger the spell, such as specific people or those who say a certain password.
Using this ability expends a spell slot two levels higher than the intended spell. For example, to set a 1st level spell as a magical trap, you must expend a 3rd level spell slot.
If the spell requires a target, the spell can only target one triggering creature, or if it affects an area, the spell’s area of effect is centered on the triggering creature. If the spell conjures hostile creatures, they appear as close as possible to the triggering creature and attack. If the spell requires concentration, it lasts its full duration. A trap can be detected by a successful Intelligence (Investigation) check against your spell save DC, or by casting Specialis Revelio.