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

Need Help with Dice Macro

I'm trying to put together a Marco for my Fantasy AGE game that rolls 3d6 (marking one as the Stunt Die), adds a modifier, and then gives the total. I know how to roll the 3 six sided dice, and add the modifier using the following: &{template:default} {{name=Dagger}} {{attack=[[1d6cs>7cf<0]] [[1d6cs>7cf<0]] [[1d6cs>1cf<6]]+1}} {{damage=[[1d6+2]]}} My question is, how to I get it to display the total?
1472944749
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Put + signs between them and another set of inline roll brackets around the whole thing, the individual dice will be visible on a mouse hover.
I would like to have it so I don't have to mouse over to see what each die rolled. I would like to have it: "Attack: 3 5 6 + 1 Total: 15" Is that possible?
1472948578
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
With sheet workers (and/or a baked in roll template) maybe. With a custom API script (pro perk) definitely.
1472949673

Edited 1472949681
How about something like this? &{template:default} {{name=Dagger}} {{damage=[[1d6+2]]}} /r [[1d6cs>7cf<0]] + [[1d6cs>7cf<0]] + [[1d6cs>1cf<6]] + 1