Skip to content

v2.0.0

Compare
Choose a tag to compare
@edloidas edloidas released this 30 May 08:31
· 27 commits to master since this release

npm distribution is broken for this version. Fixed in v2.0.2.

Notable changes

Updated:

  • Parser names.
  • List of exported functions.

Added:

  • Support of WoD notation: 4d10!>6f1.
  • Roll generators for dice rolling, according to the parsed notation.
  • WodRoll object for parsed WoD notation. Same as Roll for simple or classic notations.
  • Result object, that represents the dice rolls result.
  • Documentation for functions in code (JSDoc) and API reference.

Removed:

  • Range from classic and simple notations: 2d10+1 (3, 8) => 2d10.