Algorithm to calculate
f
on capture pokemon method
$ yarn add pokemon-f
import { pokemonF } from 'pokemon-f'
pokemonF(35, 'pokeball', 23)
// => 129
Type: number
Required
Pokemon HPMax
Type: string
Options: pokeball
, greatball
, ultraball
and safariball
Required
Pokeball's name
Type: number
Required
Pokemon current HP
- pokemon-game — Pokemon game — Get 'em all
- pokedex-api — Pokedex API
- pokemon-catch-probability — Check probabilty to catch a pokemon
- get-pokeball — Get pokeball information
- catch-pokemon — Algorithm to catch a pokemon
- pokemon-capture-quote — Pokemon capture quote
- pokeball-shake — Algorithm to determine how many times pokeball shakes
MIT © Bu Kinoshita