Teamcraft simulator is a simulation library for FINAL FANTASY XIV.
Install through npm:
npm install --save @ffxiv-teamcraft/simulator
const simulation = new Simulation(recipe, [new RapidSynthesis(), new RapidSynthesis()], crafterStats);
const result = simulation.run();
const reliabilityReport = simulation.getReliabilityReport();
Everything is detailed on the documentation website.
- Install Node.js and NPM
- Install local dev dependencies:
npm install
while current directory is this repo
Run npm test
to run tests once or npm run test:watch
to continually run tests.
- Bump the version in package.json (once the module hits 1.0 this will become automatic)
npm run release
MIT