see-warcraft-2
v0.0.2
Published
Warcraft II details
Downloads
3
Readme
see-warcraft-2
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'
},