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 .
×

Getting a Total from Different Rolls

I am working on a system and for the sake of not getting to specific, I roll two different dice plus a modifier and add them up. I want to make a roller block that looks like this- Each dice means a different thing, but the total still needs to show up. I've tried doing the simple macro system for custom dice rolls but can figure out how to get the total from the collective roll. Is their a simple function for getting the total in a seperate line, or would I have to go into coding something to make it work. Cheers!
1614845009

Edited 1614845142
vÍnce
Pro
Sheet Author
Maybe this would work (example done with the default template, but you could use one specific to your sheet.  also I used a query for the mod, but you could substitute an attribute) &{template:default}[[ [[1d6]]+[[1d6]]+[[?{mod|0}]] ]]{{name=Attack}}{{Roll 1 == $[[0]]}} {{Roll 2 == $[[1]]}}{{Modifier == $[[2]]}}{{Total == $[[3]] }}
THank you so much! This is amazing and helps so much!!! <3