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

d100 success

Hello, Can you tell me how to add to this macro formula that it counts success levels every 10 points? /roll d100<72 Thank you!!
or this formula /roll d100<?{Sucess as:|}
1590859148
GiGs
Pro
Sheet Author
API Scripter
This is a lot more complicated than you might expect. Assuming that 72-63 gives 1 success, 62-53 gives 2 success levels, and so on, here's a formula that works: /roll {ceil((?{target|72}+1-1d100)/10),0d0}kh1 You might want to use an inline roll, but you cant see the dice roll unless you hover over it. [[{ceil((?{target|72}+1-1d100)/10),0d0}kh1]] This allows you to enter the target value, you dont have take 72 as the only skill value.