Changes

Jump to: navigation, search

Yu-Gi-Oh! The Sacred Cards

2 bytes removed, 4 years ago
Glitches: I'm assuming that was a typo
* Each card is given a probability of appearing in the shop. However due to a bias in the random number generation, some cards are more likely to appear than their assigned probability and others are less likely to appear.<br />This is because a random number between 0 and 29,999 is generated by first generating a 16-bit number (a number between 0 and 65,535) then dividing by 30,000 and taking the remainder. Since 30,000 does not evenly divide into 65,536, the numbers 0 to 5,535 are more likely to be generated. So when ordered by number, cards whose cumulative probability score is less than 5,536 have a slightly higher chance of being selected. Cards after have a slightly lower chance.
** The probability of cards before #195: "[[Doron (TSC)|Doron]]" being selected are multiplied by three and out of 65,536, rather than out of 30,000. e.g. a probability of 5/30,000 becomes 15/65,536.
** The probability of cards after #195: "Doron" being selected are multiplied by three two and out of 65,536, rather than out of 30,000. e.g. a probability of 5/30,000 becomes 10/65,536.
** #195: "Doron" is assigned a probability of 54. The first 36 fall into the first group. The last 18 fall into the last group, giving it a total of 144/65,536. (<code class="nowrap">(36 × 3 + 18 × 2)/65,536</code>)
* Each time a card is meant to spawn in the shop, there is a 1/32,768 chance that no card will spawn.<br />More precisely generating the number 29,999 will not yield a card. Ordinarily, this would mean a 1/30,000 chance, but due to the aforementioned biasing in the random number generation, it is 1/32,768 (<code class="nowrap">2/65,536</code>).

Navigation menu