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

Making a macro reference a dice roll it just made

So I'm in a Hero system game and i'm trying to write macros for my character and he has a 5d6 killing attack, the mechanics for which involve rolling 5d6 for the body damage then multiplying that number by 1d6-1. my question is how do i write that in a macro so i can have both result show
1444948829

Edited 1444948937
[[ 5d6*(1d6 - 1) ]]
1444949716

Edited 1444949751
i tried that but the problem for me is that i still need the result of the 5d6 by itself to show in the chat log
You can't without API scripting.
1444950269

Edited 1444950311
/r [[5d6]]*[[1d6 - 1]]
1444950434

Edited 1444950454
Well, I suppose there is that way. :D  I never use /r and always forget about it.
That works, thanks
1444999765
DK Heinrich
Marketplace Creator
Sheet Author
HoneyBadger said: Well, I suppose there is that way. :D  I never use /r and always forget about it. made me laugh out loud.