The Codex Umbra

Wondrous item, artifact, requires attunement

Whoever holds the codex umbra and understands its secrets gains access to the following abilities.

The Vile Form. Once per day, as an action, you can assume the form of a dark shadow of yourself. While in this form, you gain resistance to acid, cold, fire, lightning, thunder, bludgeoning, piercing, and slashing damage, including damage from magical weapons. To maintain this form, you must sacrifice 1 Hit Die at the end of each of your turns. You are always considered to be hiding, and you gain advantage on attacks in vile form. If you fall unconscious while in vile form, you revert to your normal form. If you die while in vile form, you become a shadow and the codex disappears, relocating itself elsewhere in the Mundane World.

No Man Can Escape His Shadow. Once per day, as an action, you can summon 6 shadows, placing each anywhere within 60 feet of you, each adjacent to a character. The shadows act on your turn, doing your bidding. They dissolve after 1 minute.

Shadow Tower. Once per year, as an action, you can summon a round spire made of solid darkness. The tower is 30 feet in diameter and 40 feet high with windows on all sides and a battlement on top. The interior is divided into three floors connected by a spiral staircase. The door will only open on your command (bonus action); magic of less than 7th level will not open it. Each creature in the area where the tower appears must make a DC 13 Dexterity saving throw, taking 12d10 bludgeoning damage on a failed save, or half on a success, and is pushed to a space outside the tower. The sky above the tower is always dark. The roof, door, and walls each have 90 hit points, immunity to damage from nonmagical attacks except siege weapons, and resistance to all other damage. It cannot be repaired but can be dismissed as an action. The tower is a 2nd-level tower stronghold and grants units defending it +1 Morale.

Shadow Legion. Once per week, as an action, the holder of the codex umbra can summon a Shadow Legion. The legion dissolves after 1 hour or two battles, whichever comes first.

Black Star. Completing this 1-hour ritual replaces the sun with a negative counterpart—a blazing black sun in a sky filled with red stars. All diurnal creatures with an Intelligence score greater than 5 gain darkness sensitivity, giving them disadvantage on attack rolls and Wisdom (Perception) checks that rely on sight. As the owner of the codex umbra, you do not suffer this sensitivity. However, while the Black Star blazes, you must sacrifice 1 Hit Die at the end of each hour.

Source: Strongholds & Followers