Mordenkainen's Penultimate Cogitation (Alteration)

Level: 7
Range: 0
Duration:  Instantaneous
Components: V, S
Casting Time: 1 segment
Saving Throw: None
Area of Effect: Spellcaster

This permits the mage to call
to mind one spell from one of the caster’s personal spell
books, provided the appropriate spell book is within one
mile of the mage. The spell must be one that the caster
knows, as explained in the Players Handbook. The spell
cannot be called from a scroll or another mage’s spell book.
The called spell can be any of the 1st to 6th level. Only 1
spell can be called per casting of the penultimate cogitation.
The called spell can be cast on any succeeding round. There
is always a 10% chance that the called spell will be magically
erased from the mage’s spell book.