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

How To Roll Individual Dice Equal To Attributes

I'm trying to get Roll20 to roll a number of d6 equal to an attribute plus the skill value (which would also be an attribute). Example: Josh has a 2 coordination and 3 ranks in firearms.  The roll would be 1d6+3 twice. If Josh rolled a 4 (1+3) and a 7 (4+3) the output would read 4, 7 Could I please get some help with this? I can get it to add the numbers together and even say if they beat a number but I'm struggling to keep them separate numbers. Thank you for your time, Tim
1704145430

Edited 1704145475
Gauss
Forum Champion
Hi Tim,  Which character sheet are you using? If you don't know the name a screenshot would let us identify it.  With that said, the general concept here is:  /r @{charactername|attributename1}d6 + @{charactername|attributename2} or [[@{charactername|attributename1}d6 + @{charactername|attributename2}]] If you want to do it twice you can do that via a multiplier like so:  /r (2*@{charactername|attributename1})d6 + 2*@{charactername|attributename2} or [[(2*@{charactername|attributename1})d6 + 2*@{charactername|attributename2}]] If you want to keep the roll and the modifier separate then you'd want to do something like this:  [[(2*@{charactername|attributename1})d6]] + [[2*@{charactername|attributename2}]] Don't put /r in front, don't wrap the entire thing in inline brackets...just present it like that in the chat or in the template. If you identify the character sheet and the names of the attributes, and which template you'd like to use (if any) I can refine that further for you. 
1704148873
GiGs
Pro
Sheet Author
API Scripter
Are you saying you want to add the numbers together and also display the separate totals? For that you should look into Reusing Rolls.
1704149047
Gauss
Forum Champion
Actually, looking at it again I think I misunderstood what they were asking for.  I thought they wanted 2d6 and 3*2 = 2d6 and 6 I now think they might want 1d6+3 and 1d6+3, rolled and displayed separately.  Tim, if that is the case, please indicate what determines the number of rolls being made. 
1704203464
timmaugh
Forum Champion
API Scripter
You can't do that natively, AFAIK. You **can** do something like: 2d6 + 6 To arrive at a single, total value for all the sets of 1d6+3 you rolled, but you can't display them separately (with native Roll20 syntax). That said, you can do things like that with scripts. I've done similar things with metascripts, if you're interested. Here is an arbitrary number of Necromancer skeleton attacks in a single template. And here is a similar solution just for an arbitrary number of die rolls . If it seems like a direction you'd like to go, post back and I can help work up a model closer to your situation.
Guas I'm not using a character sheet. I' adding attributes to the attributes into a blank character sheet 
I figured Roll20 couldn't do it since no system using what I'm doing. I'm homebrewing a system all together, hence no character sheet. I can do it at a table easy but I'm using R20 for maps and all. I might just have them do the math n go old school with it.
Thank yous for the help!