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

Using the results of a single roll in multiple places in a macro.

I'm playing in a pathfinder game and have access to channel energy which heals everyone in a burst for 2D6,  my character receives an additional 2 healing per die, and I'd like to set up a macro that takes the result of a 2d6 roll, and displays that in one line of the table, and shows the result +4 in the other, for quick and easy reading. Something that would display in a similar layout to this &{template:default} {{name=Channel Energy}} {{Caster=[[2d6+4]]}} {{Others=[[2d6]]}} but uses the result of a single 2d6 roll for both values. Hopefully someone can help me work this out, as its a little beyond me!
You can't reuse roll results without an API script (Pro level) unfortunately
1481741461

Edited 1481741494
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Not possible without an API script (Pro game perk). Best you can do is add a note on that you get +2 per die healed, could maybe automate the total bonus, and the number of dice to roll (assuming you have a level attribute whatever you may have named it): &{template:default} {{name=Channel Energy}} {{30 ft Burst of healing=[[[[1+floor((@{level}-1)/2)]]d6]]}} {{Caster receives [[[[1+floor((@{level}-1)/2)]]*2]] additional healing}}