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

Roll Intelligence DC Save for Selected Token

Hello, I would like to Roll an Intelligence DC Save for a selected token.  I want like to hard code the DC number (7 , 10... whatever) and have it roll the d20 and output the number rolled as well as if it failed or succeeded.   So if the hardcoded DC was 10 and it rolled 9, I would like it to output "DC Roll was 9, Failed Save" Thank you for your help
1752173290

Edited 1752173300
Gauss
Forum Champion
Hi Drifter96,  Which character sheet are you using? If you don't know the name please supply a screenshot of the sheet.
Sorry, it's the D&D 5e 2014
1752173970
Gauss
Forum Champion
So are you wanting to make a macro for this?
Yes please.  I've done some simple macros and modified mor advanced ones , but this is out of my wheelhouse.
1752178465

Edited 1752178473
Gauss
Forum Champion
There are a few ways this can be done.  1) Create a default template macro that references a Rollable Table to give you your text output.  2) RainbowEncoder's wizardry that can do what #1 does, but without a Rollable Table. I'll throw him an invite to the discussion.  3)  Use an API Script that does it all in one. 
Unfortunately the DM is new to Roll20 and doesn't want to use API Scripts or create rollable tables.  I've already discussed with him about these options, which is why I need a macro.
1752179122

Edited 1752183081
Gauss
Forum Champion
Rollable Tables are the standard method for injecting text into a macro. But RainbowEncoder may have a solution. We will have to see what they can come up with.  Unfortunately there are very few people that understand his wizardry, which is why Rollable Tables are the standard method. :)
Here you go &{template:default} {{name= $[[$[[1]]]] [[[ [[{[[1d20+@{selected|intelligence_save_bonus}]],0}>10 * 2 + 2]] ]]] }} {{DC Roll was a $[[0]] }} [[[ [[0]] {{Failed Save }} ]]][[[ [[0]] {{Successful Save }} ]]] {{name=@{selected|character_name}}} With thanks to Gauss for providing the initial template.
Thank you both so much!  This is perfect!