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

Looking to make a Legends of the Wulin dice-rolling macro?

So I'm looking for a way to get dice rolls to work, a la the Legends of the Wulin system. The way that it works is: (Bolded stuff will be in-game terms that have values You have a pool of dice called your Lake. It starts at 5, and then goes up by 1 every Rank . You can go up to Rank 5. When you roll to perform an action, you roll your Lake and assemble the die by matched pairs, where the tens digit is the number of dice, and the ones digit is the number on the dice. For example: 5 6 6 3 1 In this, I would have one set of two 6's. That would be a 26. I also have a 15, a 13, and an 11, but the paired sets are what matter. Some actions can be done on single-die, but most actions require at least two. I'd like to see if I could get a dice roller to work that would allow for this to be automated, producing the sets immediately, and adding up the numbers to get what's needed.
1599987285
GiGs
Pro
Sheet Author
API Scripter
You'd need a custom API script to do this. Roll20 does have a built-in way to show the matches sets though. The following will prompt you for the number of dice, then show them in descending order, and tell you how many matches there (which probably isnt that useful to be honest): /roll ?{Lake?|5}d6mtsd This will just show the sorted dice, making it easy to manually count them. /roll ?{Lake?|5}d6sd