Legendary Resistance (3/Day). If Haliax fails a saving throw, he can choose to succeed instead.
Discorporation. When Haliax drops to 0 hit points or dies, his body is destroyed but his essence is scattered into Oblivion, and he is unable to take physical form for 1d10 months.
Spellcasting. Haliax is a 20th-level spellcaster. His spellcasting ability is Wisdom (spell save DC 23, +15 to hit with spell attacks). Haliax has the following spells prepared:
Cantrips (at will): mage hand, prestidigitation, ray of frost, chill touch, true strike
1st level (at will): detect magic, bane, shield, thunderwave
2nd level (at will): heat metal, hold person, invisibility, darkness
3rd level (at will): call lightning, counterspell, dispel magic, fireball
4th level (3 slots): banishment, dimension door
5th level (3 slots): destructive wave, wrath of nature, dominate person
6th level (3 slots): disintegrate, globe of invulnerability, chain lightning
7th level (3 slots): power word pain, plane shift,divine word
8th level (2 slots): maddening darkness, power word stun
9th level (2 slots): prismatic wall, invulnerability, power word kill
Turn Immunity. Haliax is immune to any effect that turns undead.
Name Breaker (Greatsword). Melee Weapon Attack: +14 to hit, reach 5 ft., one creature. Hit: 20 (4d6+6) slashing damage plus 10 (3d6) psychic damage. The target must succeed on a DC 15 Constitution saving throw or be paralyzed for 1 minute. The target can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success.
Haliax 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. Haliax regains spent legendary actions at the start of its turn.
At-Will Spell. Haliax casts one of his at-will spells.
Shadow Step. Haliax teleports to a point that he can see in dim light or darkness.
Name Breaker (Costs 2 Actions). Haliax makes an attack with Name Breaker.
Frightening Gaze (Costs 2 Actions). Haliax fixes his gaze on one creature he can see within 10 feet of it. The target must succeed on a DC 18 Wisdom saving throw against this magic or become frightened for 1 minute. The frightened target can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success. If a target's saving throw is successful or the effect ends for it, the target is immune to Haliax's gaze for the next 24 hours.
Naming (Costs 3 Actions) (Recharge 6). Haliax utters one of the following names:
Wind: Haliax casts the control winds spell.
Water: Haliax cast the control water spell or the tsunami spell (once per long rest).
Stone: Haliax can cast the wall of stone spell or cast the earthquake spell (once per long rest).
Other: Haliax can control and shape the world in a way the DM wishes, not to exceed the power of a 5th level spell (twice per long rest).
Description
Within 1 mile of Haliax there is a dark fog hanging close to the ground. The shadows seem to stretch, the sun seems to dim, and light sources seem to be absorbed quickly into the surrounding environment. This effect lingers for 1d4 days after Haliax moves, gradually returning to normal.
If Haliax is nearby at night, there is no moon, no clouds, and no stars, as if someone threw a dark blanket over the sky.