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

Specific dice on specific character be a specific number

i need a way to make a ability of a person that rolls a dice of 40 to always be a 10 but still showing rolling a 40.
Presuming a d100 (but it can be changed) this macro will have a result of 10 on a roll of 40; otherwise the result will be the same as the roll. &{template:default} {{Roll=$[[0.computed]]}} {{Result=[[ [[ (ceil([[ [[ {abs(floor(([[1d100]]-40)*2000.001)),61}k1 /-2 ]].0 *-1]])+40000)%999 ]] ]]}}