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

Target Number - Multiple Successes help

Hi there, I'm trying to create a macro for use in the Hollow Earth Expedition RPG. I am trying to create a dice macro that counts the number of successes when mutiple d6's are 'thrown'. So far I have this: /roll ?{Number of Dice}d6s=2 With this formula It allows me to have a prompt appear asking how many dice before rolling. It then tells me if any results = the number 2, and counts them as a Success. As HEX uses the ubiquity system, it counts evens as successes and odds as failure. So if I roll 5d6 normally on a table and get a 1, 1, 4, 5, and 6...then I have 2 successes. What I am trying to achieve with the macro is counting a success when a 2 or 4 or 6 appears when rolled, not just a 2. For example I tried this forumula: /roll ?{Number of Dice}d6s=2,4,6 But it discounts the 4 and 6 and only counts a success when the 2 is rolled. Can anybody help with a suitable formula? thanks, D
1412258060
Lithl
Pro
Sheet Author
API Scripter
If there's nothing else special to the fact that evens are good and odds aren't, then simply use d6>4 to count successes on 4,5,6. It's the same odds.
Thanks for the reply Brian. Yes, I appreciate you can do that but I would still prefer to know how to do the above, if at all possible. Of course I could also just take a step back and count the even's as they have appear on screen to count the successes.....but I don't want to do that.
1412260014
Pat S.
Forum Champion
Sheet Author
Other than using the API (mentor feature), I don't think it is possible. They have the ability to count successes but not in the manner you are wanting David.
Ok, thanks Pat S. I was just curious as I played about with the macro's.
Seem to have made a work around by using just a d2, as the odds of success are still 50/50. This means if I enter the formula: /roll ?{Number of Dice}d6s=2 Then ever 2 rolled would be counted a success and every 1 a failure. So, this would give me an accurate number of successes than attempting the original d6 formula.
I think you meant /roll ?{Number of Dice}d 2 s=2
Bill H. said: I think you meant /roll ?{Number of Dice}d 2 s=2 Indeed I did....my mistake