Contingency
Casting Time
10 minutes
Range
Self
Components
V, S, M
Duration
10 days
a gem-encrusted statuette of yourself worth 1,500+ GP

Choose a spell of level 5 or lower you can cast that has an action casting time and can target you. Cast it now (the contingent spell), expending both slots, but it doesn't take effect—instead it triggers on a condition you describe when casting.

The contingent spell takes effect immediately the first time the trigger occurs (whether you want it or not), then Contingency ends. It affects only you, even if it could normally target others.

Only one Contingency at a time—casting it again ends the prior one. It also ends if its material component ever leaves your person.