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

Global mod. Help. Using d&d 5e sheet

1710035233

Edited 1710035571
Here’s the description: When you make an attack while wielding more than one light melee weapon and make an attack with one of them, you can subtract the damage dice of another light melee weapon you are carrying from the attack roll to add twice its damage dice to the damage roll of that attack on hit. Using daggers. GAM:  ROLL:?{LS? |Yes,- d4|No,0}   GDM: DAMAGE:   ?{LS?|Yes,d4|No,0}*2 I’d like to be able to toll the GDM independently of one another. The GAM doesn’t seem to be working with a minus (works without, and i’m doing the math manually either way, just wanted to see if it was a possibility) Any help would be appreciated.
1710040953

Edited 1710041159
Gauss
Forum Champion
The problem you are probably having is that you cannot have the same query have two outputs. Move the "-" to before the GAM roll.  GAM: -?{LS?|Yes,d4|No,0} and  GDM: ?{LS?|Yes,d4|No,0}*2
1710042289

Edited 1710042373
GAM doesn’t seem to work. Will prompt correctly, but won’t spit out the attack roll even with the - outside .
1710043782

Edited 1710043851
Gauss
Forum Champion
Bel said: GAM doesn’t seem to work. Will prompt correctly, but won’t spit out the attack roll even with the - outside . Please screenshot the output.  Also, please copy the template it outputs.  You can do this by clicking on the Chat Tab's chat box (where you type), then hit the up arrow on your keyboard. That should be the template, copy that and paste it please.  Edit: you also have another problem in your GAM, you have a space in there that isn't in GDM.  You have to be careful with those spaces. 
1710044228
Gauss
Forum Champion
Never mind, I figured out the problem, it really doesn't like a minus sign.  To make it work use this: ?{LS?|Yes,d4|No,0}*(-1)
1710045060

Edited 1710045075
That works. Appreciate the help :)