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

Script to change result depending of the grade of success

Hi, i wanna know if is possible, that depending of the symbol in a dice, you can change the result, we are playing not with D20 numbers, but with dice with symbols, in this case, the attacks are different if they come in a black or a white skull.
1564815114
GiGs
Pro
Sheet Author
API Scripter
I'm not fully grasping what you're asking, a few more specific details would be handy. But macros cant do conditions (e.g. if dice shows this face, roll this second dice). macros cannot reuse results of one roll in another roll. For 'advanced' things like this, you need the API, a pro feature, and then also need to know how to write javascript (or get someone to do it for you).
I know javascript, i will try to tell you the specifics, when a dice rolls, it have 4 options, good shield, bad shield, white skull and black skull, the problem is with the black skulls, the blacks skulls are for special effects, and can be for example a stun, it have to call the specific special power if there is one, if not generate a normal damage, i suppose is possible with a if condition and a call to the item to check it, but i wanna know about it, if there is a specific way to do it, or some documentation about it.
1564821170
GiGs
Pro
Sheet Author
API Scripter
The only way you'll be able to represent that is with an API script.  If you just want to display the dice types and adjudicate the results manually, you can have a rollable table, with a picture of each face in the table. It'll show you the dice and you can interpret them yourself.