Casting Time 10 minutes or longer; see text
Schools Divination

EFFECT
Range Personal
Target You
Duration 1 day/level (D) or discharged
Saving Throw none; Spell Resistance none
Base MP cost 11

DESCRIPTION
You can place another spell upon your person so that it comes into effect under some condition you dictate when casting trigger magic. The trigger magic spell and the companion spell are cast at the same time. The 10-minute casting time is the minimum total for both castings of the spell; if the companion spell has a casting time longer than 10 minutes, use that instead. The spell to be brought into effect by the trigger magic spell must be one that affects your person and be of a power level no higher than one-third your caster level (rounded down, maximum 6th level).
The conditions needed to bring the spell into effect must be clear and discernable, although they can be general. In all cases, the trigger magic immediately brings into effect the companion spell, the latter being “cast” instantaneously only when the prescribed circumstances occur. If complicated or convoluted conditions are prescribed, the spell combination (trigger magic and the companion spell) may fail when called on.
You can use only one trigger magic companion spell at a time; if a second is cast, the first one (if still active) is dismissed.