Template:DiscoverChance

This calculates the chance to Discover one of x specific choices out of a total pool of y options. In other words, this calculates the chance of drawing any of x cards out of y total possibilities in 3 chances, without replacement, as a percentage, where x and y are the inputs to this template in order. This is simply a shortcut to DrawChance with exactly 3 chances to draw a desired card.

See DrawChance for more information.

This can be used for any effect which "draws" from 3 options, not just Discover. For instance, Adapt is not technically a Discover ability, but the same probability applies.

Parameters

 * 1) "x" - The number of desired choices.
 * 2) "y" - The total number of choices the effect is drawing from.
 * 3) "p" - Decimal places to round to. If not specified, defaults to 1 decimal place, but 2 might be desirable for comparing very low chances. The wiki calculator will automatically avoid printing 0s in decimal places if it's an exact integer.

Examples

 * produces "".
 * 1 spell out of 5 left in the deck with Shadow Visions.
 * produces "".
 * 1 spell out of 31 available in standard format with Primordial Glyph.
 * produces "".
 * Any of 4 Hero Powers out of 8 offered by Sir Finley Mrrgglton.