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

Macro Help?(Multiple dice, take highest)

1415057752

Edited 1415057871
I'm playing an investigator in one of my campaigns and i recently picked up empathy which allows me to roll 2d20 & 2d6 on my sense motives and take the highest result on both the d6's & d20's , combine them and then add my modifier and use that as my result... i'm not quite sure how to turn that in macrolanguage, any help would be appreciated! Also trying to get my macros to show 19-20 crit change instaid of just the 20's. Currently its like this. swings with rapier [[1d20+9]] atk rapier(+3 if studied combat) [[1d6+2]] Dmg rapier(+3 if studied combat) [[2d6]] Studied Strike Thanks in advance
1415058393

Edited 1415058449
Pat S.
Forum Champion
Sheet Author
The crit range is not possible with the standard roller but the GM should be able to create a rollable table with the crit range highlighted. It is also possible with the API (that is a mentor feature) The rolling and keeping the highest roll for multiple dice is a k1 on the end of the dice [[2d20k1]]. <a href="https://wiki.roll20.net/Dice_Reference#Drop.2FKeep" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Drop.2FKeep</a> is the specific entry on the wiki pages about keeping the highest roll Now I'm not sure of what you mean by combining them, could you explain it more?
It basicly needs to roll 2d20's & 2d6's, take the highest on each dicetype, combine them and then add them to my modifier. Based on what you just said and the wikipage, its apparently something like this? [[2d20d1+2d6d1+16]] Thanks, too bad on the crit range but i guess i'll look into the API thing then
1415059337
Pat S.
Forum Champion
Sheet Author
ok, the macro you supplied will add everything together. Supposed you got a 10,12 (2d20d1)+1, 5 (2d6d1) + 16. The macro (If I'm reading it correctly) will take the highest dice rolls and combine it all into one result : 12+5+16 =33. Is this what you wanted?
1415059449
Pat S.
Forum Champion
Sheet Author
Oh, the campaigns original creator would have to be the mentor subscriber to have the API usable in the campaign also. If it is not you then you could gift him a subscription.
Pat S. said: ok, the macro you supplied will add everything together. Supposed you got a 10,12 (2d20d1)+1, 5 (2d6d1) + 16. The macro (If I'm reading it correctly) will take the highest dice rolls and combine it all into one result : 12+5+16 =33. Is this what you wanted? Yes, the link was helpfull!
1415061107
Pat S.
Forum Champion
Sheet Author
Good luck then.