Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.44 KB

readme.md

File metadata and controls

50 lines (30 loc) · 1.44 KB

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