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

Macro miscounting successes

Im having a bit of a problem while trying to get a working macro for counting successes and raises in Savage Worlds, the target number is 4, and rolls can explode, with each 4 above the target number being a 'raise' or an additional success. Heres the formula I have been using as my macro: /r 1d8! / 4 >1 Im dividing the exploding roll by 4, to count the total successes and raises, but I hit a strange error in the output: rolling 1d8! / 4 >1 (8+6)/4>1 = 2 Successes Perhaps Im crafting the formula wrong, but shouldnt this read as 3 successes? A total of 14 (8+6) / 4 should be 3 (with remainder) and checking this against a target number of 1, should create a success every time 4 can be divided into the roll. Ive gotten the seperate rolls for skill and wild dice working in a marco, so everythings going well, but it would be nice to make use of the successes feature too. Cheers for the Help.
1358106979
Gauss
Forum Champion
Ok, it is working correctly but to explain this I will change the target number to 4 and remove the divisor. If you roll 1d8!>4 and the number on the die equals or exceeds 4 it is a success. Lets assume though that it exploded and you got an 8 and a 5. That is two successes (they are not added together before the success check). Next, lets assume you got an 8, 8, and 6. That would be three successes. If you use !! it will add them together. Example: If 1d8!!>4 results in an 8 and a 5 that will total up to 13. You will have 1 success. Returning to your formula, 1d8!/4>1 will return a success for each individual die that is equal to or greater than 1 after being divided by 4. If you change your formula to 1d8!!/4>1 it will return a success if the total divided by 4 is equal to or greater than 1. It will not return multiple successes. Unfortunately, I do not know of any formula that will give you a number of successes based on how many whole numbers you have after the division step. I hope this helps. - Gauss
Thanks for the help! I guess I'll just stick to tallying the raises on the final sum rolls myself. Still though, Im sure I will find a use for the success mechanic somehow!