You must cast the spell--Verdant Shift--as part of casting Planar Defense, expending spell slots for both, but the spell doesn't come into effect. Instead, it takes effect when you choose over the next 10 days and when a creature would deal damage to you. The material components for Verdant Shift must be held on reserve and marked for the spell. If the material components are not in tact when this spell reacts, the spell fails. Also, Planar Defense ends on you if its material component is ever not on your person.
The spell takes effect immediately after the caster speaks a verbal command just before taking damage, and the creature dealing damage makes a wisdom save. On a failed save, the attacker immediately is teleported to an extra dimensional space resembling one quarter mile is every direction and with any and all creatures, furnishings, features, etc exactly duplicated, and the creature faces off against an exact illusory duplicate of the caster or the attacker takes 3d10 psychic damage on a successful one.
During this effect, the creature is under the effects of the "Hold Person / Monster Spell" until they break out of the illusory extra dimensional space or until they take damage equal to half of their hit point total or more.
The creature remains unaware of the illusory world for a number of rounds equal to the original spell caster's primary ability modifier, regardless of the outcome inside the extra dimensional space. After that, the creature makes one Intelligence check per round to break free of the illusion with a DC equal to the original spell caster's spell save DC.
If the creature fails this roll 10 times, it remains in the illusory world permanently.
If the creature breaks free of the illusory world it takes 4d10 psychic damage.
The contingent spell takes effect only on you. You can use only one Planar Defense spell at a time.
If you cast this spell again, the effect of another Planar Defense spell on you ends.