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

adding advantage to a cantrip spell roll

I am not macro savvy in the least, I have been trying to understand it all spent nearly 200 hours trying to figure it out and its not clicking lol I have been piecing together stuff I find to try to make it work for what I want, but I have hit a wall here. I get it to bring the query up and roll the dice but doesn't display the rolls and just brings up the dmg. For shocking grasp if they are wearing metal you get advantage and I want to add that to the macro as a query this is the macro for shocking grasp I am using but dont know where or how exactly to add  [[ ?{Attack Type|Standard, 1d20|Advantage, 2d20kh1} ]] @{selected|wtype}&{template:dmg} {{rname=Shocking Grasp}}{{range=Touch}} {{dmg1flag=1}} {{dmg1=[[((@{level} + 1) / 6 + .5)d8]]}} {{dmg1type=Lightning}} {{spelllevel=1}} {{innate=}} {{globaldamage=[[0]]}} {{globaldamagetype=@{selected|global_damage_mod_type}}} ammo= @{selected|charname_output}
1537106078
The Aaron
Pro
API Scripter
This is with the 5e OGL sheet?  I don't see an attack roll in that Roll Template.  Probably you need to put in an attack roll in the spell to cause the attack roll line to be generated, then it will be clear what to edit.   If you try your inline roll and roll query for advantage by itself, do you get dice like you would expect?
I apologize for not updating, I just set it as a normal attack where it rolls advantage/disadvantage on every roll and called it a day