Sources
CR
Type
Size
Alignment
Movement

Halaster Blackcloak

Medium Humanoid (human), Chaotic Evil

Armor Class 14, 17 with mage armor
Hit Points 246 (29d8 + 116)
Speed 30 ft.
STR
10
+0
DEX
18
+4
CON
18
+4
INT
24
+7
WIS
18
+4
CHA
18
+4
Saving Throws INT +14, WIS +11
Skills Arcana +21, History +21, Perception +11
Damage Resistances fire; lightning, (granted by the blast scepter, see "Special Equipment" below)
Senses darkvision 120 ft., passive Perception 21
Languages Abyssal, Celestial, Common, Draconic, Dwarvish, Elvish, Infernal, Undercommon
Challenge 23 (50,000 XP)

Traits

Special Equipment. Halaster wears a robe of eyes that lets him see in all directions, gives him darkvision out to a range of 120 feet, grants advantage on Wisdom (Perception) checks that rely on sight, and allows him to see invisible creatures and objects, as well as into the Ethereal Plane, out to a range of 120 feet.

Halaster wields a blast scepter (a very rare magic item that requires attunement). It can be used as an arcane focus. Whoever is attuned to the blast scepter gains resistance to fire and lightning damage and can, as an action, use it to cast thunderwave as a 4th-level spell (save DC 16) without expending a spell slot.

Halaster also wears a horned ring (a very rare magic item that requires attunement), which allows an attuned wearer to ignore Undermountain's magical restrictions (see "Alterations to Magic").

Arcane Recovery (1/Day). When he finishes a short rest, Halaster recovers all his spell slots of 5th level and lower.

Legendary Resistance (3/Day). If Halaster fails a saving throw, he can choose to succeed instead.

Rejuvenation. If Halaster dies in Undermountain, he revives after 1d10 days, with all his hit points and any missing body parts restored. His new body appears in a random safe location in Undermountain.

Spellcasting

Spellcasting. Halaster is a 20th-level spellcaster. His spellcasting ability is Intelligence (spell save DC 22, +14 to hit with spell attacks). He can cast disguise self and invisibility at will. He can cast fly and lightning bolt once each without expending a spell slot, but can't do so again until he finishes a short or long rest. Halaster has the following wizard spells prepared:

Cantrips (at will): dancing lights, fire bolt, light, mage hand, prestidigitation

1st level (4 slots): mage armor, magic missile, shield, silent image

2nd level (3 slots): arcane lock, cloud of daggers, darkvision, knock

3rd level (3 slots): counterspell, dispel magic, fireball

4th level (3 slots): confusion, hallucinatory terrain, polymorph

5th level (3 slots): Bigby's hand, geas, wall of force

6th level (2 slots): chain lightning, globe of invulnerability, programmed illusion

7th level (2 slots): finger of death, symbol, teleport

8th level (1 slot): maze, mind blank

9th level (1 slot): meteor swarm, wish

Actions

Blast Scepter. Halaster uses his blast scepter to cast thunderwave as a 4th-level spell. Each creature in a 15-foot cube originating from him must make a DC 16 Constitution saving throw. On a failed save, a creature takes 5d8 thunder damage and is pushed 10 feet away. On a successful save, the creature takes half as much damage and isn't pushed

Legendary Actions

Cast Spell. Halaster casts a spell of 3rd level or lower.

Spell Ward (Costs 2 Actions). Halaster expends a spell slot of 4th level or lower and gains 5 temporary hit points per level of the slot.

Lore

As the master of Undermountain, Halaster can alter the entire dungeon to some extent. His lair actions and regional effects don't extend beyond Undermountain.