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

Marco for Multiply Advantage and/or disadvantage

Working on make a sheet for Dragonbane and I was trying to figure out if this can be done with a Marco or if it would have to resort to a MOD script. Any help is appreciated. Multiple Boons/Banes: If you get multiple boons/banes to your roll, roll an additional D20 for each boon/bane and count only the lowest/highest result. However, please note that unless you have a very high skill level, rolls with multiple banes have a very low chance of success. Boon and Bane: Sometimes you might get both boons and banes to your roll. Each boon negates one bane, and vice versa. If you have one boon and one bane, make a normal roll (one D20). If you have two boons and one bane, it counts as a boon.
This macro should handle that for you [[ [[1+abs(?{Boons|0}-?{Banes|0})]]d20k[[{?{Boons|0}-?{Banes|0}+1,1}k1]]dh[[{?{Boons|0}-?{Banes|0},0}k1]] ]]
1682454673
GiGs
Pro
Sheet Author
API Scripter
By the way, just as a note for the future, since you are making your own sheet you can do a lot of what can be done in a MOD with Custom Roll Parsing (though it might be trickier).
Thank you very much. RainbowEncoder said: This macro should handle that for you [[ [[1+abs(?{Boons|0}-?{Banes|0})]]d20k[[{?{Boons|0}-?{Banes|0}+1,1}k1]]dh[[{?{Boons|0}-?{Banes|0},0}k1]] ]]
Thanks for the info. I am just fiddling with it right now, but I will check that out. GiGs said: By the way, just as a note for the future, since you are making your own sheet you can do a lot of what can be done in a MOD with Custom Roll Parsing (though it might be trickier).