RPG Dice Roller
A JS based dice roller that can roll various types of dice and modifiers, along with mathematical equations. This is a fork of @dice-roller/rpg-dice-roller
npm install @molmedoz/rpg-dice-roller
Check out the documentation from original project https://dice-roller.github.io/documentation
Order 9 (critical failure is now 10 and sorting is 11)
When a die rolls a high possible result, such as rolling <= 20% of skills on a d% , this is called a special success.
However, sometimes you want a special success to be on a different value, or a range.
To specify what is considered as a special success, add
ss and a Compare Point, after the die notation:
// roll a d10 4 times, anything greater than 7 is a critical success 4d%sp<=12
We're always happy for community contributions. You can find our contributing guide in the docs: https://molmedoz.github.io/documentation/contributing
// the rolls of 5 and 11 are critical successes 5d%sp<=12: [13, 5++, 11++, 15, 68] = 62
This dice roller has been released under the MIT licence, meaning you can do pretty much anything you like with it, so long as the original copyright remains in place.
You can use it in commercial products.
If the licence terminology in the licence.txt is confusing, check out this: https://www.tldrlegal.com/l/mit