Catch rate: Difference between revisions

→‎Capture method (Generation VII): Made the math a bit more readable
(→‎Shake probability: Made the math more readable, this is algebraically equal)
Tags: Mobile edit Mobile web edit
(→‎Capture method (Generation VII): Made the math a bit more readable)
Tags: Mobile edit Mobile web edit
Line 265: Line 265:
Generation VII re-introduces the Heavy Ball as an obtainable item, and with it, the added (or subtracted) modifier applied to the Pokémon's species catch rate. The formula for the modified catch rate in Generation VII is:
Generation VII re-introduces the Heavy Ball as an obtainable item, and with it, the added (or subtracted) modifier applied to the Pokémon's species catch rate. The formula for the modified catch rate in Generation VII is:


:<math>a = \Biggl \lfloor \dfrac {(3 \times HP_{max} - 2 \times HP_{current}) \times 4096 \times darkGrass \times rate_{modified} \times bonus_{ball}}{3 \times HP_{max}} \Biggr \rfloor \times bonus_{status} \times passPower</math>
:<math>a = \Biggl \lfloor \dfrac {3 \times HP_{max} - 2 \times HP_{current}}{3 \times HP_{max}} \times 4096 \times darkGrass \times rate_{modified} \times bonus_{ball} \Biggr \rfloor \times bonus_{status} \times passPower</math>


In {{g|Sun and Moon}} only, if ''rate<sub>modified<sub>'' is negative, it is instead set to zero; this has the side effect of making {{p|Beldum}} and the [[Guardian deities]] impossible to catch in a Heavy Ball in these games. In {{g|Ultra Sun and Ultra Moon}} onward, ''rate<sub>modified<sub>'' is instead set to 1, making those Pokémon available for capture again.
In {{g|Sun and Moon}} only, if ''rate<sub>modified<sub>'' is negative, it is instead set to zero; this has the side effect of making {{p|Beldum}} and the [[Guardian deities]] impossible to catch in a Heavy Ball in these games. In {{g|Ultra Sun and Ultra Moon}} onward, ''rate<sub>modified<sub>'' is instead set to 1, making those Pokémon available for capture again.
28

edits