Ulitharid

Ulitharids, or elder illithids, are so insidious, diabolical and powerful that all denizens of the dark fear them. They were once but a whispered threat, an unseen nightmare. Until now.

Special abilities
A ulitharid has a spell resistance of 26 and permanent true seeing. Its creature weapon can penetrate damage reduction as a +8 weapon.

This creature can cast dominate monster as a spell-like ability with a caster level of 15 once per day. In addition, it can use its psionic inertial barrier once per day, its psionic charm monster twice per day, its psionic mass concussion four times per day, and its psionic mind blast and psionic mind blast 10m radius abilities each ten times per day.

If in combat with a creature of a playable race who is neither petrified nor polymorphed, but is stunned or paralyzed, then the ulitharid will move to be 1.5 meters from that creature and use its extract brain ability. (If the target becomes polymorphed or loses the debilitating condition before the ulitharid is in position, it will use a psionic mind blast that does not count against the daily limit instead of extracting the brain.) There are a few quirks (bugs) associated with this. First, a creature of the Tiefling subrace (case sensitive) is considered a playable race and is considered stunned/paralyzed. (This was probably an attempt to account for Valen Shadowbreath in the Hordes of the Underdark campaign, but not intended to bypass the stunned/paralyzed check.) Second, a creature subject to a spell failure effect (not from equipment) is considered stunned/paralyzed by mind flayers. (Instead of spell failure, the intent was to detect the visual effect associated with being paralyzed, but this was incorrectly implemented.)