Valda's Spire of Secrets
Protect Threshold
2-level Abjuration
Ritual - does not require spell slot, takes 10 minutes longer
Casting Time: 1 action
Range/Area: Touch
Components: V, S, M
Materials: an ounce of salt for each foot of the warded portal’s perimeter
Duration: 10 minutes
Tracing arcane sigils along its boundary, you can ward a doorway, window, or other portal from entry. For the duration, an invisible eldritch creature stalks the warded portal. Any creature that attempts to pass through the portal must make a Wisdom saving throw or take 4d6 psychic damage, or half as much on a successful save.
At higher levels: When you cast this spell using a spell slot of 3rd level or higher, the damage increases by 1d6 for each slot level above 2nd.