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

Macro help for success values

1795442980

Edited 1795443144
Okay so I am very new to trying to writing Macros and even with some help I just cannot figure out the last step. Essentially the macro needs to do a few things: roll 1-3d6s check, value 4+ as a success check, value 1 as a -1 success (crit fail) check, value 6 as 2 successes because it's a crit success... no check. I currently have this:  /roll ?{Number of Dice|1,1|2,2|3,3}d6>4f1cs6cf1 and it does everything but count 6 as +2. Can anyone help with this last step?  I feel like it's probably going to be something where I have to rewrite the whole thing and I already struggled enough with this. I hope this makes sense, I'm not the best at explaining this because I barely understand Macros as it is so I'm sorry for the confusion. I tried making the entire thing a rollable table but it looked awful and still didn't quite work as intended so I'd rather keep it as a macro if that's possible
I'm not sure there's any way to do it, but I think you're confusing "critical" success/failure rolls (which color-code the roll values based on a test, with success/failure (aka Target Number rolls), which counts "did it match the criteria" and also color-codes individual rolls. in other words /r 2d6cf<1cs>4 will show the numbers rolled and their sum, and color-code the individual rolls red (instead of black) if the die is 1, and green if it is 4, 5, or 6. In constrast, /r 2d6>4f1 will show the rolls and color their digits similarly (ie it's the same logic) but instead of a sum of the rolls it shows a count of "success" minus "failure" rolls (so 2 and 3 do nothing, 1 subtracts one from an initial 0 count, and 4, 5 and 6 add one.  And since the success/failure roll does the same digit coloring of the individual rolls, there's no need to use both together if you want the same coloring. But you can. However /r 2d6>4f1cs>6 does exactly the same count of tests, it just only colors a 6 green, even though it still counts a 4 or 5 as successes. It's not modifying the test criteria for the success count. There is a way, in a roll template, to record a die roll and reuse it, but I was unable to get that to work with success/failure comparisons at all.  See Reusing Rolls in the community wiki for details on that syntax if you are curious. Note that with the success/failure roll, there's a single test (the >4) and then a singular failure critiera. (the f1).  I don't think there's any allowance for providing two success criteria (e.g. ">4>6", which definitely does not work, or something similar).