Dragon, Deep Very Old (CR 21)

Huge Dragon (Earth)
Alignment: Always Chaotic evil
Initiative: +0; Senses: blindsense 60 ft., darkvision120 ft., low-light vision, and keen senses
Languages: Draconic

AC: 37 (-2 size, +29 natural), touch 8, flat-footed 37
Hit Dice: 30d12+180 (375 hp); DR: 15/magic
Fort +23, Ref +17, Will +22
Speed: 40 ft., fly 150 ft. (poor) , burrow 20 ft., swim 30 ft.
Space: 15 ft./10 ft. (15 ft. with bite)
Base Attack +33; Grapple +50
Attack: 1 Bite +37, 2 claws +32, 2 wings +32, 1 Tail Slap +32, 1 crush +32 melee; Breath +37 ranged
Damage: 1 bite 2d8+10, 2 claws 2d6+5, 2 wings 1d8+5, 1 tail slap 2d6+15, 1 crush 2d8+15, Breath weapon 18d8 (31)
Special Attacks/Actions: Breath Weapon, fear (DC 30), SR 29
Abilities: Str 29, Dex 10, Con 23, Int 22, Wis 21, Cha 20
Special Qualities: True seeing, detect magic, freedom of movement, transmute rock to mud, charm immunity, cold and fire resistance 10, Snake form 4/day, humanoid form 4/day. CL 11. Can also cast cleric spells and those from the Earth, Evil and Trickery domains as arcane spells.
Feats: #Feats: 11
Class Skills: Hide, Move Silently, Skill points: 186, and Swim
Advancement: 31-32 HD (Huge)
Climate/Terrain: Underground
Organization: Solitary or clutch (2-5)
Treasure/Possessions: Double Standard

Source: Monster Compendium: Monsters of Faerûn

Breath Weapon (Su): A deep dragon's breath weapon is a cone of flesh-corrosive gas 18d8 damage, Reflex save for half (DC 31). Using a breath weapon is a standard action. Once a dragon breathes, it can't breathe again until 1d4 rounds later. A blast from a breath weapon always starts at the dragon's mouth and extends in a direction of the dragon's choice.

True Seeing (Su): Deep dragons have a permanent form of true seeing (as the spell).

Snake Form (Su): A deep dragon can assume its serpentine (legless) form four times per day. This form is the same size as the dragon, but able to move through smaller tunnels because it has no legs. The dragon's AC worsens by -6 in this form. It moves at 30 feet, flies at 10 feet (poor), and swims at 30 feet. It loses all claw attacks in this form, but can constrict opponents, dealing 3d6 damage.

If the dragon hits with this attack, it can make a free grapple check (without provoking an attack of opportunity). If it wins this check, it grabs and constricts its victim, automatically dealing the above damage every round until the opponent dies or breaks free.

Humanoid Form (Su): A deep dragon can polymorph self into a humanoid form four times per day. It can alter the size, shape, hue, and features of its bipedal form to resemble a human, elf (surface or drow), half-elf, half-orc, orc, hobgoblin, dwarf, duergar, or any similar creature of Medium-size. If the dragon wears armor to improve its AC in this form, the armor is destroyed when the dragon changes shape.

Earth Subtype

This subtype usually is used for elementals and outsiders with a connection to the Elemental Plane of Earth. Earth creatures usually have burrow speeds, and most earth creatures can burrow through solid rock.