Template:DiscoverChance

From Hearthstone Wiki
Jump to navigation Jump to search

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.

Syntax[edit source]

  • {{DiscoverChance|x|y|p}}

Parameters[edit source]

  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[edit source]

  • {{DiscoverChance|1|5}} produces "60%".
  • {{DiscoverChance|1|31|3}} produces "9.677%".
  • {{DiscoverChance|4|8}} produces "92.9%".