12
edits
Ectoplasmus (talk | contribs) No edit summary |
(→Catch rate formula: edited for readability) |
||
Line 4: | Line 4: | ||
''' | '''C'''=1+floor(2'''B'''*'''R'''(2-'''P''')+'''S''') | ||
'''Note:''' ''floor'' means to make the number an integer by rounding downwards, i.e. even ''floor(1.999)'' would be equal to 1. | '''Note:''' ''floor'' means to make the number an integer by rounding downwards, i.e. even ''floor(1.999)'' would be equal to 1. | ||
'''CurrentHP''' is either the wild Pokémon's current HP, or if its current HP is greater than 255, use | '''P''' is the proportion of HP remaining: '''P'''='''CurrentHP'''/'''TotalHP'''. | ||
'''CurrentHP''' is either the wild Pokémon's current HP, or if its current HP is greater than 255, use floor('''CurrentHP'''/4). | |||
'''TotalHP''' works exactly like CurrentHP, except using the Pokémon's maximum HP value. | '''TotalHP''' works exactly like CurrentHP, except using the Pokémon's maximum HP value. | ||
''' | '''R''' is the wild Pokémon's Catch Rate, found below. | ||
'''S''' (Status) - If the wild Pokémon is asleep or frozen, S=10. If it is paralyzed, poisoned, or burnt, S=5. Otherwise, S=0. | |||
The chance is further modified according to the kind of Poké Ball used; for a full list see [[Poké Ball]]. | The chance is further modified ('''B''') according to the kind of Poké Ball used; for a full list see [[Poké Ball]]. | ||
[[Category:Game mechanics]] | [[Category:Game mechanics]] | ||
After all these values have been calculated, the game computes a random number anywhere from 0 to 255 inclusive. If this random number is less than | After all these values have been calculated, the game computes a random number anywhere from 0 to 255 inclusive. If this random number is less than '''C''', the Pokémon is caught. | ||
==Pokémon catch rates== | ==Pokémon catch rates== |
edits