dice-roller/rpg-dice-roller

multiple-result rolls

Open

#205 opened on Feb 1, 2021

 (4 comments) (1 reaction) (0 assignees)JavaScript (68 forks)auto 404
blockedenhancementhelp wantedmodifiersuggestion

Repository metrics

Stars
 (279 stars)
PR merge metrics
 (PR metrics pending)

Description

Hello,

A common roll in TTRPGs is to re-roll twice on a given result, and also, to roll multiple dice and want the individual results of each die roll.

e.g.: roll 1d8, if 8, then roll 2d8 and keep each result. Thus: roll:1d8, [8], automatically reroll:2d8: [6] and [5] and roll 4d4+1, wanting each result of the four dice. Thus: roll:4d4+1, [4+1], [2+1], [4+1], [1+1]: 5, 3, 5, 2

Also, would it be possible to set the result pop-up to be a a different colour on crit success and crit fail? The ** and __ aren't being noticed by my players.

Thank you so much for this script!

  • Allow explode modifier to roll multiple dice for each "explode"
  • Allow re-roll modifier to roll multiple dice for each re-roll

Contributor guide