0.0.1-development • Published 7 years ago

rarely v0.0.1-development

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

rarely

An Javascript Snipper for making Random things that you can control rarity

Example

let rr = new Rarely({ frequency : 1, rareEffeciency : 2 });
	rr.call((chest) => { console.log(`Wow, you got ${ chest} chest`); });
	rr.err((chest) => { console.log(`Oh, no, you not get the ${ chest } chest`); });
	rr.run('Super magical');

License

MIT-License

0.0.1

7 years ago