0.0.2 • Published 6 years ago

see-warcraft-2 v0.0.2

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

see-warcraft-2

npm package

Random Warcraft II stuff

Installation

npm i --save see-warcraft-2

Usage

Create instance of SeeWarcraft2

const SeeWarcraft2 = require('./node_modules/see-warcraft-2');
const swc = new SeeWarcraft2();

swc.getRandomFaction()

Horde

swc.getRandomUnit()

{
  name: 'Peasant',
  race: 'Human',
  faction: 'Alliance'
}

swc.getRandomBuilding()

{
  name: 'Great Hall',
  race: 'Orc',
  faction: 'Horde'
},

License

MIT