Tome of Forbidden Spells

The Tome of Forbidden Spells is a magical spellbook that was first encountered in the library of the Pyramind in the Void of the Mind.

Description
This eldritch tome won't open any of its pages unless magical energy or vitality is provided, and even then it decides which page it will turn to. As an action you can expend one spell slot or hit die to open the Tome of Forbidden Spells and roll a d100 on the Forbidden Spells table. The result of the roll determines the spell that is cast. For every spell slot higher than 1st expended or for each additional hit die you use to open the tome you get an additional opening per spell level or amount of hit dice spent. Each opening of the tome is a full action, additional openings can be stored for up to 24 hours.