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

degrees of success and failure?

degrees of success and failure for every ten below or above the target number? this is what i have /me Balance /r 1d100<[[(@{selected|perception} + @{selected|WB})]] this is what i get anthony (GM): rolling 1d100<33 ( 88 ) = 0 Successes instead of 5 failures or this anthony (GM):rolling 1d100<33 ( 11) = 1 Successes    instead of 3 successes 
1477847636

Edited 1477847904
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
This should work: [[floor((abs(1d100cs&gt;[[@{selected|perception} + @{selected|WB}]]cf&lt;[[@{selected|perception} + @{selected|WB}-1]]-[[@{selected|perception} + @{selected|WB}]]))/10)+1]] Will give you a green highlighted roll on a success and a red highlighted roll on a failure. The above picture shows my test case using an integer in place of your attribute calls. Check out the Dice Reference for details on the math functions above:&nbsp; <a href="https://wiki.roll20.net/Dice_Reference" rel="nofollow">https://wiki.roll20.net/Dice_Reference</a> Hope that helps and happy rolling, Scott EDIT: Woops, realized I flipped the relationship of your roll to the target number. You'll want to do: [[floor((abs(1d100cs&lt;[[@{selected|perception} + @{selected|WB}]]cf&gt;[[@{selected|perception} + @{selected|WB}+1]]-[[@{selected|perception} + @{selected|WB}]]))/10)+1]]
thanks you are awesome and i will read up on the link &nbsp;