Damage: Difference between revisions

22 bytes removed ,  29 July 2010
whoops. Did this the wrong way.
(False. CH can never go above 5, and Super Luck adds 1, not doubles.)
(whoops. Did this the wrong way.)
Line 105: Line 105:
Every time a regular attack is executed, the actual damage caused is adjusted by a random multiplier between 0.85× and 1.00×.
Every time a regular attack is executed, the actual damage caused is adjusted by a random multiplier between 0.85× and 1.00×.
    
    
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 generate 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 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.
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.
659

edits