Dispel magic

"This spell can wreak havoc on thy allies and enemies alike. Cast it wisely! - Elminster Aumar"

Dispel magic was a abjuration spell that could negate magic on a creature or object (including potions), or interfere with casting spells and the use of spell-like abilities.

Effects
When a magic effect is dispelled it ceases to function as if the spell duration had expired. Some spells were crafted specifically not to be susceptible to dispelling, but these were the exception rather than the rule. Casters could always dispel their own spells. Magical items that had magic built into them as part of their construction could not be permanently dispelled by this spell, but they could be made temporarily nonmagical for a short time. The chance to dispel an effect was based on the difference in level between the caster of dispel and the caster/creator/inherent power of the target. This spell could be cast in one of three ways, as chosen by the caster:


 * Targeted Dispel: The target could be one creature, object, or an active spell. If an object or creature had more than one spell effect active simultaneously, the dispel had a chance to dismiss each of them. Items worn or carried by the targeted creature were not affected. If the creature was summoned, then dispel had a chance to end the summoning spell. If the object was a magic item, then dispel had a chance to suppress the function of item for a short time.
 * Area Dispel: For the newer version of this spell, the area was a circle of 20 ft (6.1 m) radius. For the older versions, the area was a 30 ft (9.1 m) cube.  Each creature and object in the area of effect was subject to the dispelling of one spell placed on that creature or object, if applicable. Dispel magic attempted to counteract the highest level spell first, followed by any successively lower level spells in turn until dispel succeeded in countering one effect or failed to counter anything. The only exception to this was for summoned creatures: dispel magic also had a chance to counter the summoning spell as well as any other spells that targeted the summoned creature (checking highest level spells first and so on, as above).
 * If the point of origin of an area-effect spell was within the area covered by dispel magic, then the area-effect spell had a chance to be negated. If the area covered by dispel magic overlapped a portion of an area-effect spell, then dispel had a chance to counteract the area-effect spell in the overlapping area only.
 * Magic items are not affected by an area dispel.


 * Counterspell: Targeting a spellcaster, dispel magic attempted to spoil the spell being cast by the target.

The older versions of this spell did a combination of all three of the above uses: acting like targeted dispel over the entire area of effect on each creature or object (including those worn or carried) and possibly counterspelling any casting being done in the area of effect at that instant.

The post sundering version of the spell was very simple and functioned mostly like the targeted dispel. Targeting a creature, object or magical effect within 120 feet of the same level as the spell was cast with (its power grew if it was cast with a higher spell level) would dispel it out right. If the dispel magic was of lower level then the spell it target the spell could try and resist the dispelling attempt.

Components
Only verbal and somatic components were required to cast this spell.