Legendary Resistance (3/Day). If the dragon fails a saving throw, it can choose to succeed instead.
Living Shadow. While in dim light or darkness, the dragon has resistance to damage that isn’t force, psychic, or radiant.
Shadow Stealth. While in dim light or darkness, the dragon can take the Hide action as a bonus action.
Sunlight Sensitivity. While in sunlight, the dragon has disadvantage on attack rolls, as well as on Wisdom (Perception) checks that rely on sight.
Spider Climb. The dragon can climb difficult surfaces, including upside down on ceilings, without needing to make an ability check.
Tunneler. The dragon can burrow through solid rock at half its burrow speed and can choose to leave a 10-foot-diameter tunnel in its wake.
Multiattack. The dragon makes three attacks: one with its bite and two with its claws.
Bite. Melee Weapon Attack: +11 to hit, reach 10 ft., one target. Hit: 17 (2d10 + 6) piercing damage plus 3 (1d6) necrotic damage.
Claw. Melee Weapon Attack: +11 to hit, reach 5 ft., one target. Hit: 13 (2d6 + 6) slashing damage.
Shadow Breath (Recharge 5–6). The dragon exhales shadowy fire in a 30-foot cone. Each creature in that area must make a DC 19 Dexterity saving throw, taking 56 (16d6) necrotic damage on a failed save, or half as much damage on a successful one. A humanoid reduced to 0 hit points by this damage dies, and an undead shadow rises from its corpse and acts immediately after the dragon in the initiative count. The shadow is under the dragon’s control.
Spellcasting (Psionics). The dragon casts one of the following spells, requiring no spell components and uses Intelligence as the spellcasting ability (spell save DC 17):
1/day each: dissonant whispers, hold monster, meld into stone, telekinesis
Change Shape. The dragon magically transforms into any creature Medium or Small, while retaining its game statistics (other than its size). This transformation ends if the dragon is reduced to 0 hit points or uses a bonus action to end it.
Psychic Step. The dragon magically teleports to an unoccupied space it can see within 60 ft. of it.
The dragon can take 3 legendary actions, choosing from the options below. Only one legendary action option can be used at a time and only at the end of another creature's turn. The dragon regains spent legendary actions at the start of its turn.
Claw. The dragon makes one Claw attack.
Psionics (Costs 2 Actions). The dragon uses Psychic Step or Spellcasting.
Telekinetic Fling (Costs 3 Actions). The dragon chooses one Small or smaller object that isn't being worn or carried that it can see within 60 feet of it, and it magically hurls the object at a creature it can see within 60 feet of the object. The target must succeed on a DC 17 Dexterity saving throw or take 31 (9d6) bludgeoning damage.
Lair and Lair Actions
On initiative count 20 (losing initiative ties), the dragon can take one of the following lair actions; the dragon can't take the same lair action two rounds in a row:
Awesome Thunder. A thunderous detonation of sound that can be heard up to 300 feet away surrounds one creature in the lair that the dragon can see. That creature must succeed on a DC 15 Constitution saving throw or take 13 (3d8) thunder damage and be stunned until the end of its next turn.
Beguiling Whisper. The dragon telepathically whispers to one creature within range of the dragon's telepathy. The creature must succeed on a DC 15 Wisdom saving throw or be charmed by the dragon until initiative count 20 on the next round. A creature charmed in this way obeys to the best ability any command the dragon issues that isn't harmful to the creature.
Stone Passage. The dragon touches a section of stone up to 30 feet in any dimension. The dragon can shape the stone to open or close a passage through a wall, as long as the wall is less than 10 feet thick.
REGIONAL EFFECTS
The region surrounding a legendary sapphire dragon's lair is altered by the dragon's magic, creating one or more of the following effects:
Crystal Profusion. Natural stone within 6 miles of the lair grows plentiful crystal formations and veins of sapphire gemstones, particularly underground.
Stony Sight. Natural stone within 6 miles of the lair is a conduit for the dragon's psionic presence. As an action, the dragon can cast the clairvoyance spell, requiring no spell components and targeting any natural stone formation in that region.
Telepathic Enhancement. The dragon's psionic energy enhances the mental powers of other creatures. Any creature capable of telepathic communication has its telepathy range doubled while within 1 mile of the lair. This includes creatures with innate telepathy and magical telepathy such as the rary's telepathic bond spell.
Thriving Wildlife. Giant spiders (a sapphire dragon's favorite prey) are attracted to the area within 6 miles of the lair and settle there in large numbers.
If the dragon dies, the population of giant spiders in the region returns to normal levels over the course of Id10 days. The enhancement of telepathic abilities ends immediately. The existing abundance of crystals and sapphires remains, but new ones form at a normal rate.