Utilisateur:BafS/temps
Quand une Poké Ball est jetée sur un Pokémon sauvage, le jeu utilise une formule basée sur la santé, le statut et le taux de capture du Pokémon sauvage pour déterminer les chances d'attraper ce Pokémon.
La formule est :
Où :
- PVmax est le nombre de points que le Pokémon a en pleine santé,
- PVacctuels est le nombre de points que le Pokémon a en se moment,
- taux est "le taux de capture" du Pokémon,
- bonusball est le multiplicateur pour la Poké Ball utilisée, et
- bonusstatut est le multiplicateur pour le statut du Pokémon (coefficient 2 pour le sommeil et gel et 1,5 pour la paralysie empoisonnent et brûlure)
If a is greater than or equal to 255, then the Pokémon is caught. If not, then calculate b as follows:
Then generate 4 random numbers between 0 and 65535, inclusive. If the random numbers are all less or equal to than b, then the Pokémon is caught; otherwise the ball shakes n times, where n is the number of random numbers that are less than b. Note that b ≥ 65535 if a ≥ 255.
Therefore, the probability p of catching a Pokémon, given the values a and b calculated above, is:
The second expression for p may be expanded as follows:
Since (216 - 1)4 ≈ 264, we can approximate p with the following expression:
The percentage error in this approximation approaches 0 as a approaches 255, and does not exceed 0.02%.
For a constant probability p, the probability P that a player can capture the Pokémon with no more than r tries is:
Note that this is the cumulative probability function for a geometric distribution. The expected value of r is 1/p, that is to say, on average, a Pokémon that can be caught with probability p will be caught with 1/p tries.
The inverse problem, the number of tries, r, needed to have a probability P of capturing a Pokémon is:
Triva
modifier- The appearances of Pokémon such as Portail:Nosepass (0 articles – Suivi), Portail:Tropius (0 articles – Suivi), Portail:Carnivine (0 articles – Suivi), etc., would suggest that their catch rate is low. However, Nosepass has 255, the highest catch rate, and Carnivine and Tropius have 200, which is pretty high.