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

Using a kl1 command within a query

I'm attempting to make an attack add-on for use with Combat Expertise that will automatically show what the maximum value possible is for it. Combat Expertise uses BAB to a max of 5. So what I thought should work is: ?{Combat Expertise (Up to [[ {[[@{bab}]],5}kl1 ]])|0}[Expertise] This does not work and the [[ {[[@{bab}]],5}kl1 ]] shows up as text and not a calculation. Is there a way to make this work?
1629082060
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
This isn't possible due to the order of operations . Roll queries happen before inline rolls.
Damn it, I was hoping to make this happen but I guess not... Thanks for the help