Deck of many things

A deck of many things was an assortment of magical cards or metallic plates that were arranged in a set deck. They were enchanted with great magic that was never to be used lightly.

Description
While each deck of many things was different, they held some common properties. The majority of decks found contained 13 cards, while approximately 1/4 of them held 22. They were typically made of vellum or ivory, but could also be cast from thin sheets of metal. They were often kept in a small pouch or ornate box.

The cards were named and each was adorned with a unique portrait that shimmered with a radiance of power. A 13-card deck included the sun, moon, star, throne, key, knight, the void, flames, skull, ruin, euryale, rogue and jester cards, while a 22-card deck added the vizier, comet, the fates, gem, talons, idiot, donjon, balance and fool.

Powers
The exact powers of each individual deck were not known until the cards were drawn. Before this, an individual declared how many cards they intended to draw. They did so randomly and had to wait one hour before drawing again. Any extraneously drawn cards had no effect and if an individual failed to draw the number of cards they'd previously declared, then all the remaining cards flew from the deck and took effect.

Once a card was successfully drawn, its magic immediately took effect and then it faded into oblivion.

Effects
The following effects were known to afflict, benefit, or otherwise change whoever drew the card: These effects were imbued within the 22-card deck:
 * Sun: They were granted tremendous insight and skill as if they were much more experienced in their travels. In addition, they were granted a single wondrous item from anywhere throughout the Realms or other planes of existence.
 * Moon: They gained the ability to cast the powerful spell wish in one to three instances.
 * Star: Two defining qualities of them were greatly and permanently enhanced. Such characteristics included their wit, intellect, fortitude, athletic ability, or other similar characteristics that helped define who they were as a person.
 * Throne: They became adept at influencing others to a heroic extent. Additionally some random keep located somewhere came into their rightful possession. However, the keep was infested with monstrous creatures that had to be expelled before it could be claimed. There were no recorded instances of any keeps appearing or having their ownership transferred by means of this magic.
 * Key: A rare weapon, of a type with which they were proficient, appeared in the hands of the card's drawer.
 * Knight: A powerful knight appeared and pledged their loyalty to them. This noble combatant believed that the fates had drawn them to that place and time.
 * The Void: Their body was incapacitated and their soul was transported into a random object located somewhere. The location of the object was revealed to anyone nearby. The effects of this card could not be reversed by a wish spell.
 * Flames: They earned the enmity of a formidable devil who sought their suffering and destruction. This hatred continued until they or the fiend died.
 * Skull: An avatar of death appeared before them. Before assaulting them with its scythe, the skeletal reaper warned anyone nearby that they were to engage in this fight alone. Anyone slain by the avatar of death could not be resurrected or otherwise brought back to life.
 * Ruin: They lost any and all wealth in their possession. While magical items were not affected in this manner, gold and other valuables disappeared. Any businesses, investments, land, or other holdings were also lost along with any corresponding documentation.
 * Euryale: The image of the medusa-like creature permanently cursed them. This effect could only be reversed by a deity or the magic of the fates card.
 * Rogue: A person became openly hostile towards the drawer of the card although their identity was unknown to them. This hatred could only be alleviated by a deity's intervention or the spell wish.
 * Jester: Great intuition and expertise were bestowed upon them in a similar manner as if they drew the sun card, albeit to a lesser extent. In addition they could draw two additional cards beyond those that they previously declared.
 * Vizier: Within one year of drawing this card, they could ask a question in a state of meditation and receive an enlightening answer within their mind. Along with specific knowledge, they gained the wisdom to apply that information and if necessary, solve a dilemma or crisis in their life.
 * Comet: If they defeated the next hostile creature or group of individuals they encountered single-handedly they gained a great amount of insight from the battle. If this did not occur the card had no effect.
 * The fates: They gained the ability to undo the fabric of time and reality, completely erasing one event from their life as if it never happened (including the eurayle's curse). The effects of this card could be used immediately or anytime within their lifetime.
 * Gem: A great cache of valuable gems appeared before them, in the form of 25 pieces of jewelry or 50 individual gem stones. The value of these riches totaled 50,000 gp.
 * Talons: Every magic item in their possession disintegrated. Any artifacts on their possession were not destroyed in this manner, but did vanish to some other location.
 * Idiot: Their intellect and mental faculties were significantly diminished, but not to a point that it could cause death. They could draw one card in addition to those they declared.
 * Donjon: They became imprisoned in a state of stasis within an extra-dimensional space somewhere in existence, in a manner similar to the spell imprisonment. All of their clothes, possessions and belongings remained at the location where they drew the card. They remained there until were discovered and recovered, however they could not be located by any divination magic and only by a casting of wish. Even if they previously declared, they drew no more cards.
 * Balance: Their alignment was reversed along the axes of both good verses evil and order versus chaos. No effects occurred if they were considered neutral or unaligned.
 * Fool: They lost understanding and competence in a manner opposite to those effects that were caused by the jester card. They drew another card from the deck, regardless of how many other draws they had declared.

Apperances

 * Video games:
 * ''Baldur's Gate II: Shadows of Amn