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

Need to keep highest roll on an open roll system

I need to be able to keep only the highest roll on a d100 system. I know that to do this I could just do 2d100kh1 but the problem is that this is an open roll system. In other words, if the roll is greater than 90, the d100 needs to roll again and add to it. Normally I just do 1d100!>90. How do I combine these two so that it rolls twice and takes the highest but still includes the open roll in the macro? Is this possible or should I just run the macro twice?
1536537571
The Aaron
Pro
API Scripter
Does this work? 2d100!>90kh1
1536537704
GiGs
Pro
Sheet Author
API Scripter
You can use the group notation /roll {1d100!>90,1d100!>90}kh1 You do need to know how many rolls you'll be making, but it works.
G G said: You can use the group notation /roll {1d100!>90,1d100!>90}kh1 You do need to know how many rolls you'll be making, but it works. Thanks! This worked for me! The Aaron said: Does this work? 2d100!>90kh1 No. That was one of the first ways I tried.
1536622973
Finderski
Pro
Sheet Author
Compendium Curator
Have you tried: 2d100!!>90kh1 I tried that and it seems to work.  I ask, because it may be easier to make macros for rolls where the number of dice may change...
1536623303
GiGs
Pro
Sheet Author
API Scripter
That's neat, Finderski. I always forget about the !! operator.