Package Exports
- @nwod-angel/nwod-roller
- @nwod-angel/nwod-roller/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nwod-angel/nwod-roller) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nwod-roller
Everything you need to roll New World of Darkness dice in javascript.
Installation
Install using npm install
npm install @nwod-angel/nwod-rollerUsage
The two main types are InstantRoll and ExtendedRoll.
let roll = new InstantRoll({dicePool: 5})
// 1 **10** __4__ **10** **__8__** **9** 7
roll.toString()
// true
roll.isSuccess()
// 4
roll.numberOfSuccesses()