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

Taking Highest of Two Totals

So I've got zero experience with the macros and am trying to make one to make the many attack and damage rolls of a player in my game easier as they struggle with all of the rolling. Their character recently got a feature that lets them roll their damage rolls for weapons twice and take the highest, and I was wondering if there's a way to keep the highest value of two sets of rolls. So like rolling "2d6+1d8+10" twice and taking which of the two totals is the highest.
1605130238
The Aaron
Roll20 Production Team
API Scripter
like this? [[{2d6+1d8+10,2d6+1d8+10}kh1]]
And if you're interested in understanding what that syntax means, here is the dice reference page:&nbsp;<a href="https://wiki.roll20.net/Dice_Reference" rel="nofollow">https://wiki.roll20.net/Dice_Reference</a>
The Aaron said: like this? [[{2d6+1d8+10,2d6+1d8+10}kh1]] That's perfect thank you so much! Jarren K. said: And if you're interested in understanding what that syntax means, here is the dice reference page:&nbsp; <a href="https://wiki.roll20.net/Dice_Reference" rel="nofollow">https://wiki.roll20.net/Dice_Reference</a> And this really helped too! I really appreciate it.