Hat of Many Spells (2)
Wondrous Item, Very Rare

On a failed Unknown Spell check, roll :

Effect
01–50 Cast a random spell: 1 Enlarge, 2 Reduce, 3 Faerie Fire, 4 Fireball, 5 Gust of Wind, 6 Invisibility (self), 7 Lightning Bolt, 8 Phantasmal Force, 9 Polymorph, 10 Stinking Cloud.
51–55 Stunned until the end of your next turn.
56–60 A harmless butterfly swarm fills a 10-ft Cube within 30 ft; gone in 1 min.
61–65 Pull a nonmagical object: 1 Acid vial, 2 Alchemist's Fire, 3 Crowbar, 4 lit Torch.
66–70 Poisoned for 1 hour.
71–75 Petrified until the end of your next turn.
76–80 Pull a nonmagical object: 1 Dagger, 2 Rope + Grappling Hook, 3 Caltrops, 4 gem (50 GP).
81–85 An uncontrolled creature appears nearby, then vanishes in 1 hr or at 0 HP (): 1 Camel, 2 Constrictor Snake, 3 Elephant, 4 Mule.
86–90 A hostile Swarm of Bats bursts into your space and attacks you.
91–95 A two-way 10-ft portal to another plane opens within 30 ft until the end of your next turn (GM's choice).
96–00 Pull a GM-chosen magic item ( rarity: 1–3 Common, 4–5 Uncommon, 6 Rare); gone in 1 hr if unused.