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

Why dosen't this macro work?

/r @Init d6>5 + @Init i get this error Could not determine result type of: [{"type":"M","expr":"7+6"},{"type":"C","text":">5+ 7"}]
1372805720
Pat S.
Forum Champion
Sheet Author
Try this : /r @{init}d6>5+@{init}  you had a space between the first init and the d6 plus you didn't have the curlies {}
1372811639
Gauss
Forum Champion
Note: the formula you provided will add @init to the number of successes. Example:  Input: /roll 5d6>5+10 Lets assume that 5d6 rolled a 15 Result: 11 successes This is because 5d6>5 is one success (automatically) and then it adds 10 for 10 more successes.  If you are trying to compare it to a target number which is (5+10) then you will need to rework the formula.  Here is the rework:  /roll {@{init}d6-@{init}}>5 - Gauss
1372812581
Pat S.
Forum Champion
Sheet Author
He never provided the reason for the formula. I just fixed what he presented to get it to work in the manner he presented it. Never thought about the actually aspect of the formula and the results wanted. Good thing you did. :D
I think the purpose of this formula is: Roll Init number of d6, count 5 and 6 as a success. Then afterwards add Init again to the number of successes. I think Shadowrun uses a system like that. And I believe the formula should indeed look like what Metroknight said.
1372815455
Gauss
Forum Champion
Thanks Quatar, hard to keep track of all the game systems. :) - Gauss