Wondrous item, rare (requires attunement)
This ordinary looking gold piece has deep scratches on one side. It has 3 charges. When you make an attack roll, ability check, or saving throw while holding it, you can expend 1 charge to replace the d20 roll with a coin flip. On heads, the roll is treated as a 20 (though you don't score a critical hit with an attack roll or activate any other effects which trigger on the roll of a 20). On tails, the roll is treated as a 1. The coin regains all expended charges at dawn.
Source: Valda's Spire of Secrets