Legendary resistance(3/day) if the creature fails a saving throw it can choose to succeed instead
Multi-attack: the creature can use its Frightful presence then make 6 attacks, One with its lava breath, one with its bite, two with its claws, one with its horns, then tail Lava breath: the creature spews lava from its mouth in a 90 foot line, all creatures must succeed on a dc 22 dex saving throw or take 91 (26d6) damage, the creature takes half of the damage dealt from this attack Bite: Melee weapon attack: +17 to hit, reach 10ft., one target. Hit (3d10 + 10) piercing damage plus (5d12) fire damage Claw. Melee weapon attack: +17 to hit, reach 10ft., one target. Hit(3d6 +10) slashing damage plus (4d8) fire damage Tail. Melee weapon attack: +17 to hit, reach 25ft., multiple targets. Hit(3d8 + 10) bludgeoning damage plus(4d8) fire damage Lava form(Recharge 5-6). The creature turns into a pool of lava and magma, all creatures in a 45 foot radius around the creature must succeed on a dc 24 dex saving throw or take (15d6) fire damage
The dragon can take up to 3 legendary actions, choosing from the options below. Only one legendary action can be used at a time and only at the end of another creatures turn. The dragon regains spent legendary actions at the start of its turn. Detect. The dragon makes a Wisdom(perception) check Tail attack. The dragon makes a tail attack Wing attack(Cost 2 actions). The dragon beats its wings, Each creature within 15 feet of the dragon must succeed on a dc2 5 dex saving throw or take (3d6 + 10) bludgeoning damage and be knocked prone. The dragon can the fly up to half its flying speed.