Skip to content

bukinoshita/pokemon-escape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pokemon-escape Build Status

Check if Pokemon flee from battle

Install

$ npm install --save pokemon-escape

Usage

const pokemonEscape = require('pokemon-escape')

pokemonEscape(20)
// => true

API

pokemonEscape(fleeRate)

returns a boolean

fleeRate

Type: integer
Required

Pokemon's flee rate. Can check here

Related

License

MIT © Bu Kinoshita