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

Shadow of the Demon Lord Dice macro

Hey all. I'm trying to create a generic macro for d20 roll fro SotDL it includes one input for a stat modifier, a boon of d6s added to the roll a bane of d6s subtracted from the roll for a total. So far I have this: &{template:default} {{name=D20 Check}}{{Roll=[[1d20]] + Mod [[?{Mod}|0]] + Boon [[?{Boon|0}d6k]] - Bane [[?{Bane|0}d6k1]]}} But that only gives me the individual dice totals not an absolute total. Can anyone tell me what to add to get a final number while also seeing the individual rolls?
Try this out: &{template:default} {{name=D20 Check}} /r 1d20 + [Mod] ?{Mod|0} + [Boon] ?{Boon|0}d6k1 - [Bane] ?{Bane|0}d6k1
1459872993

Edited 1459873530
DK Heinrich
Marketplace Creator
Sheet Author
@Ade S.  I have just about all macros made for SotDL -  Here is the main thread for the game . It has a macro for what you are doing, along with some other random stuff. If you have any questions about SotDL and macros for it or doing things with the game on Roll20 please ask here or PM me. remember that one boon cancels out one bane - so you will never need to roll them both at the same time. You are better off using a query to ask if you need a boon or bane or nothing - then let it roll the correct die. The kicker is that the die roller does not like rolling dice with a negative number but I tricked it (with help from lots of folks around here) and use a rollable table for the banes (it will use negative numbers) and dice for boons.  It should make sense when you see it. The very last post in the thread from me has a basic macro that I think is closest to what you are asking for. *EDIT: Added Link