Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Including additional information in pool dice rolls?

I'm playing Shadowrun 5th Edition and I was creating Abilities for my character. For clarity reason I would like to see what makes up my dice pool. I tried "inline labels" that looked promising, to do something like below. /r (@{Agility} [Agility] + @{Pistols} [Pistols])d6>5 and expected an output like rolling (5 [Agility] + 4 [Pistols])d6>5 (6+2+3+1+5+3+4+1+6) =3  Successes Unfortunately this does not work right now and gives the output below Could not determine result type of: [{"type":"M","expr":"(6"},{"type":"L","text":"Agility"},{"type":"M","expr":"+4"},{"type":"L","text":"Pistols"},{"type":"M","expr":")"},{"type":"C","text":"d6>5"}] The only way I could make it work is to bring the label outside the roll, like /r 5d6>5[Agility] + 4d6>5[Pistols] That gives rolling 5d6>5[Agility] + 4d6>5[Pistols] (5+1+5+4+3)+(2+1+5+3) = 3 Successes but this solution does not work well with the Roll Queries I want to use for modifying the roll. So, is there a way to add "comments" inside the pool part of the roll formula?
1377540555

Edited 1377541553
Gauss
Forum Champion
It appears there is a bug with inline comments that they are not being allowed in combination with math only elements.  If I understand correctly you want (Agility+Pistols)d6>5 Here is a workaround that may work for you:  /r [[0d1 + @{Agility}[Agility] + @{Pistols} [Pistols]]]d6>5 The 0d1 will allow the inline comments to work.  I will file a bug report.  - Gauss
Thank you Gauss. I actually prefer the way the data is presented (the full pool as a number and the details in the tooltip). Now I just have to wait for the 0d1 to be deprecated. Thanks again. -Chris Edit: We made the same optimization to the formula :)
1377542309

Edited 1377542334
Gauss
Forum Champion
Happy to help.  Oh, and since this is a bug moved to Bug Reports. - Gauss