Damage: Difference between revisions

71 bytes added ,  19 July 2010
(According to Smogon, anyway.)
Line 111: Line 111:
In the game's mechanics, the random modifier does not have uniform probability for all percentages between 85 and 100. This is because the computer will multiply the working number by a random number from 217 to 255 (217 is about 85.09% of 255), and then divide it by 2.55, to get the random number from 85 to 100 that the computer will divide by 100 to get the final percentage.
In the game's mechanics, the random modifier does not have uniform probability for all percentages between 85 and 100. This is because the computer will multiply the working number by a random number from 217 to 255 (217 is about 85.09% of 255), and then divide it by 2.55, to get the random number from 85 to 100 that the computer will divide by 100 to get the final percentage.


As a result, the odd numbers from 85 to 99 have a 7.69% (3 in 39) probability of being chosen, and the even numbers from 86 to 98 have a 5.13% (2 in 39) probability of being chosen. The number 100, the least probable number, has a mere 2.56% (1 in 39) chance of being chosen.
As a result, the odd numbers from 85 to 89 and the even numbers from 90 to 98 have a 7.69% (3 in 39) probability of being chosen, while the even numbers from 86 to 88 and the odd numbers from 91 to 99 have a 5.13% (2 in 39) probability of being chosen. The number 100, the least probable number, has a mere 2.56% (1 in 39) chance of being chosen.


==Links==
==Links==
659

edits