Contingency

A Contingency spell allows a wizard to store spells that will activate once the condition specified at casting occurs. The uses for this spell are limited only by the imagination of the wizard.
==Description==
==Gameplay==
The caster can only apply this spell upon themself.
When the spell casting is initiated a brief casting animation occurs and then a contingency creation menu opens up. 
The first menu screen instructs: "ADD SPELLS TO YOUR CONTINGENCY" - select an available spell from the memorized spell book(s) available (Wizard or Priest if applicable), and it must be a 1st-level spell through 4th-level.
Next, select one Condition to trigger the contingency, and then select a Target of the contingency, as follows: 
Acceptable conditions are:Wizard is hit (but not necessarily damaged)Wizard sees enemyWizard's Hit Points are at 50%Wizard's Hit Points are at 25%Wizard's Hit Points are at 10%Wizard is Helpless (i.e., stunned, held, paralyzed, asleep, webbed etc.)Wizard has been poisoned
Acceptable targets are:Self
When finished with the process, click the "DONE" button, and a brief contingency creation animation graphic plays over the caster's sprite. Additionally, an icon is placed on the character's portrait titled "Contingency Active".
Since the duration is unlimited until triggered, you can memorize the Contingency spell and the spell you want to put in it, cast Contingency, then replace Contingency in your memorized spells and rest. That way, you still have Contingency active after rest but also have two more spell slots for the next encounter.
Only one Contingency can be active at the same time. One Chain Contingency and one Contingency can be active each.
Contingency will trigger even if the character is immobile due to a Time Stop. Though, keep in mind that a character immobilized by Time Stop (or Shadowstep) is not technically considered "helpless", so another trigger condition must be used.
Cleric / Mages can also put Cleric spells into the Contingency. E.g. automatically Heal yourself at low hit points.
Contingency can trigger successfully even in dead magic zones (e.g. the Watcher's Keep Balor chamber), however, it must be prepared before entering the area.
For further details on the inner workings of contigencies and their trigger conditions (e.g. details about "trigger delays", what exactly is considered a "hit" etc.), please refer to the Gameplay section of the Chain Contingency article.
==Where to obtain its scroll==
===Baldur's Gate II: Shadows of Amn===
====Sold by====
*City Gates Merchant 
*Kich, Trademeet 
*Brynnlaw Store
====Dropped by====
*One of the three Shadow Thieves battling with Hareishan in the encounter during chapter two or three
====Found in====
*Bookcase in Mekrath's Laboratory.
===Baldur's Gate II: Throne of Bhaal===
====Sold by====
*Arcana Archives
==See also==
* Minor Sequencer (spell level 4)
* Spell Sequencer (spell level 7)
* Spell Trigger (spell level 8)
* Chain Contingency (spell level 9)
==Gallery==
OG Contingency 1.png|Gorion's Ward bought a scroll of Contingency and decides to prepare one for himself - he casts the spell, and a contingency menu is displayed - he needs to select a memorized spell.
OG Contingency 2.png|He selects Minor Globe of Invulnerability that will trigger upon "See Enemy" condition.
OG Contingency 3.png|And he selects "Myself" as the target of the Minor Globe spell - the menu closes, and a brief spell contingency creation animation renders over his sprite.
OG Contingency Triggered 1.png|Later on, during an encounter with some hostile opponents, the contingency triggers, although it took a few seconds for the Minor Globe to manifest.
==Mod content==
Regarding this type of spell, the Sword Coast Stratagems mod will do the following, but only if you do not install Spell Revisions:
Allow players to use the individual versions of Spell Immunity in triggers
Spell Immunity is really eight sub-spells. This component allows a subspell to be placed into a Contingency or Spell Trigger.
On Enhanced-Edition installs, this is done crudely, by introducing scrolls of the eight different versions of Spell Immunity. ToBex allows it to be done more smoothly on original-game installs.
Make spell sequencers, spell triggers, and contingencies learnable by all mages
In the unmodded game, spell sequencers, contingencies etc. are in the Evocation school, making them unavailable to Enchanters; this is a serious weakness for the class. This component moves them to be in both the Conjuration and Evocation schools (like Wish), so that all mages may use them. The affected spells are Minor Sequencer, Spell Sequencer, Spell Trigger, Contingency, and Chain Contingency. This will not take effect if you have Spell Revisions installed (as SR takes care of this already by making them "Universal" School).
With Spell Revisions installed, this is the equivalent spell description:
Contingency
Level: 6
School: Universal
Range: Personal
Duration: Special
Casting Time: 1 round
Area of Effect: Special
Saving Throw: None
Upon casting this spell, the wizard is allowed to choose a spell out of his repertoire of known spells. The spell level must be lower or equal to the level of the caster divided by three. Once the spell is chosen, the caster is allowed to choose a condition of some kind from the list provided. The starting condition can be anything from reaching 10% of his maximum hit points to an enemy being sighted. Once this starting condition is satisfied the spell that was chosen will be cast automatically. For example, a 12th level wizard could place the spell Stoneskin in a contingency with the starting condition being ‘the wizard reaches 50% of his maximum hit points’. Then once the wizard is reduced to 50% or less of his total hit points in combat, Stoneskin would be immediately cast upon him. This requires no action by the wizard, happening automatically and instantaneously. The limitation of this spell is that the target of the spell placed in the contingency must be the caster. Therefore, the spell stored cannot be an offensive spell nor can it target any other party members.
==External Links==
* 
* 
* Advanced D&D 2nd Edition Wiki - Contingency (Wizard Spell)