Mage (illithid hideout)

Mage is a male human wizard found in the Illithid Hideout in the Sewers.
==Gameplay==
This mage is encountered in the second chamber of the illithid complex. 
The mage is ostensibly represented as being dire charmed and controlled by the mind flayers and forced to defend against the party's intrusion. This is conveyed by certain on-screen dialogue messages displayed when the encounter occurs.
The cleric uses the MAGE12A script for spell casting combat behavior. 
Once an enemy is detected the mage will cast Shadow Door to turn Improved Invisible.
As long as the mage isn't disrupted, it will prioritize casting more scripted arcane spells as outlined in the InfoBox.
Note that the mage has an unexpected massive strength score. Computer-controlled creatures don't have to adhere to the same requirements as a player character, as evidenced by the mediocre intelligence of this wizard.
==Mod content==
The Sword Coast Stratagems mod revises this mage. A new default AI script is assigned for smarter spell use and targeting. Upon mod installation, mages receive a random mage kit (either a Conjurer, Enchanter, Invoker or Necromancer). The assigned kit will dictate some of the available spells available in the revised spell book.
If a party member approaches as hidden, the script will have the mage cast an Oracle spell.
Upon an enemy being detected the mage will apply a chain of protective buffs including Fireshield (Red), Mirror Image, Shadow Door, Minor Globe of Invulnerability, Spell Deflection, Shield (spell), Protection From Normal Missiles, Stoneskin and with the SR mod, Non-Detection.
The mage has a prepared Minor Sequencer to release.
A Breach is available for protection removal and a number of offensive damage dealing spells and a few disabling types. Especially if an Invoker kit.
If the SCS Icewind dale component is installed, or the IWDification mod, then several spells from Icewind Dale will be added/substituted.
With the Spell Revisions mod installed most non IWD spells will be the SR version.