0.0.11 • Published 6 years ago

see-starcraft v0.0.11

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

see-starcraft

npm package

Random StarCraft: Brood War stuff

Installation

npm i --save see-starcraft

Usage

Create instance of SeeStarCraft

const SeeStarCraft = require('./node_modules/see-starcraft');
const ssc = new SeeStarCraft();

ssc.getRandomRace()

Zerg

ssc.getRandomUnit()

{
  name: 'Terran Siege Tank (Siege Mode)',
  race: 'Terran',
  cost: {
    gas: 100,
    minerals: 150,
    supply: 2,
    time: 50
  },
  properties: {
    hit_points: 150,
    shields: null,
    armor: 1
  },
  ground_weapon: {
    name: 'Arclite Shock Cannon',
    damage: 70
  },
  air_weapon: {
    name: null,
    damage: null
  }
}

ssc.getRandomBuilding()

{
  name: 'Protoss Robotics Support Bay',
  race: 'Protoss',
  cost: {
    gas: 100,
    minerals: 150,
    time: 30
  },
  properties: {
    hit_points: 450,
    shields: 450,
    armor: 1
  }
}

License

MIT

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago