Teamcraft simulator is a simulation library for FINAL FANTASY XIV.
Install through npm:
npm install --save @ffxiv-teamcraft/simulatorconst 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 installwhile 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 releaseMIT