If the dragon fails a saving throw, it can choose to succeed instead.
Actions
Multiattack
The dragon makes three Rend attacks. It can replace one attack with a use of (A) Time-Warping Breath or (B) Spellcasting to cast (level 2 version).
Rend
Melee Attack+15, reach 15 ft. 19 () 🗡️ Slashing damage plus 9 () 💀 Necrotic damage.
Ruinous Breath Recharge 5
CON SaveDC 22, each creature in a 90-foot Cone [Area Of Effect]. Failure: 72 () 💀 Necrotic damage. Success: Half damage.
Time-Warping Breath
WIS SaveDC 22, each creature that isn't currently affected by this breath in a 90-foot Cone [Area Of Effect]. Failure: The target's Speed is halved, it can't take Reactions, and it can take either an action or a Bonus Action on its turn, not both. It repeats the save at the end of each of its turns, ending the effect on itself on a success. After 1 minute, it succeeds automatically.
Legendary Actions
Pounce
The dragon moves up to half its Speed, and it makes one Rend attack.
Shattering Wave
The dragon uses Spellcasting to cast (level 2 version).
Unearth Ruins
The dragon magically raises broken, ancient ruins in a 20-foot-radius, 60-foot-high Cylinder [Area Of Effect] centered on a point it can see within 120 feet. Ground in the Cylinder [Area Of Effect] becomes Difficult Terrain. Each creature in the Cylinder [Area Of Effect] when it appears is subjected to the following effect. STR SaveDC 22. Failure: 13 () 🔨 Bludgeoning damage, and the target has the condition. Success or Failure: The dragon can't take this action again until the start of its next turn.