106 615
contributi
m (Bot: Aggiungo es:Captura de Pokémon) |
m (Bot: Fixing spelling) |
||
</math>
Quindi si generano 4 numeri random tra 0 e 65535, compresi. Se i numeri random sono minori o uguali a <math>b</math>, allora il Pokémon è catturato; altrimenti la ball si agita per <math>n</math> volte, dove <math>n</math> la quantità di numeri random che sono inferiori a <math>b</math>. Si noti che
Pertanto, la probabilità <math>p</math> di catturare un Pokémon, dati i valori <math>a</math> e <math>b</math> calcolati sopra, è:
{| style="text-align: center; margin: auto; border: 3px solid #{{colore pcwiki dark}}; background-color: #{{colore pcwiki}};"
|-
!
!
|- style="background-color:white"
! [[Prima generazione]]
|