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

Changing output of a macro

1564319093

Edited 1564337971
Hi, i'm implementing the Game Spectaculars in Roll 20. It uses a d100 to determine sucess and failure. This is the macro i'm using:  &{template:default}{{name= @{character_name} uses their Superpower}} {{Roll =[[1d100cs<80cf>81<81]]}}  And it works just fine. But it only outputs are 0 and 1 since i'm only ever rolling one die. Could I get it to output the rolled number instead without losing the formating of red and green for Success or Failure?
1564323770

Edited 1564324045
You'll want to create a rollable table for this. You can do this from the Collections tab on the VTT. Name the table, then add an item called Success, and give it a weight of 80. Then add an item called Failure with a weight of 20. You can then roll the table the same way you would roll a die, using 1t[<table name>]. You can use that in the {{Roll=[[ ]]}} section of your macro.
1564337585

Edited 1564338006
Thank you for your Answer. But sadly that doesn't work with the system since the number you roll is also the damage. I complete forgot about that so I have edited my question.
1564345112
Kraynic
Pro
Sheet Author
&{template:default}{{name= @{character_name} uses their Superpower}} {{Roll =[[1d100cs<80cf>81]]}} I believe that if you just stop there with the roll modifiers, it will do what you want.
How stupid of me. Thank you for your help.