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 .
×
May your rolls be chill this holiday season!
Create a free account

Second, third, .. etc. highest die

Hello, I llok though the threads and via google, perhaps I missed something and some of you can help me. I want to GM a session on roll20, using my own system. In some cases, I need to make roll like this for example: Xd10 --> 1. hightest / 2. hightest / 3. hightest / 4. hightest / 5. hightest / etc. an need to add the 1st and 2nd, 3rd and 4th, and so on. Thanks in advance!
1586096590
Kraynic
Pro
Sheet Author
That sounds like mechanics that are beyond what the dice roller can do.&nbsp; You can sort dice low to high, or high to low, but I don't think there is a way to roll X dice, sort them, but only total Y dice without running API scripts (pro subscription perk). If you haven't already looked at it, you might check out the dice reference page.&nbsp; Sorting dice is 3/4 or so of the way down the page. <a href="https://roll20.zendesk.com/hc/en-us/articles/360037773133-Dice-Reference" rel="nofollow">https://roll20.zendesk.com/hc/en-us/articles/360037773133-Dice-Reference</a>
1586101194
GiGs
Pro
Sheet Author
API Scripter
You can total a number of dice less than those rolled, using the keep highest operator. If you're rolling 5 d10, say, and want to keep the three highest, use /roll 5d10kh3 You can replace any of the numbers with a query or attribute call. If the number of dice youre rolling, and the number of dice you're keeping, involve calculaion, you can use inline roll brackets to ensure they are calculated properly, like say /roll [[@{attribute} + @{skill}]]d10@{skill}&nbsp;
1586101573
Kraynic
Pro
Sheet Author
Totally forgot about the keep highest...&nbsp; I've used it so much for comparisons, I guess in my mind it quit working on plain dice rolls.
GiGs said: You can total a number of dice less than those rolled, using the keep highest operator. If you're rolling 5 d10, say, and want to keep the three highest, use /roll 5d10kh3 You can replace any of the numbers with a query or attribute call. If the number of dice youre rolling, and the number of dice you're keeping, involve calculaion, you can use inline roll brackets to ensure they are calculated properly, like say /roll [[@{attribute} + @{skill}]]d10@{skill}&nbsp; I'm aware of that operator, but that dosn't allow me to get the value of the third and forth highest dice specificly, does it?
If you make it as a roll it shows all of the dice and only the result of the highest.
Patrick said: If you make it as a roll it shows all of the dice and only the result of the highest. That's not what I need. ... I need to add the first two (in this case 6 + 6 = 12) and the second two (2 + 1) dices.
1586109024
GiGs
Pro
Sheet Author
API Scripter
No, there's no way to do that without using the API (a Pro subscriber perk).
1586109065

Edited 1586109095
Not sure then, I don't think the dice roller can do both calculations.&nbsp; You could do kh2 and then manually do the kl2 from the result.&nbsp; Or two rolls: /roll 4d6khd /roll 4d6kl2 You'd see a bunch of other rolls, but we're not concerned with them.&nbsp; I'm not a master mathematician so I can't say how this affects the laws of probability, but it does give you two summed rolls
Well thank you guys anyway - at least I know what I can and can't do currently!