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

Add-to-roll queries help please

ive looked for a long time but im not even sure if ive came across the answer or not but im adding these macros in the add-to-roll macro of an attack. ?{Power Attack?|No, 0|Yes, (-1) Atk} ?{Are Flanking?|No, 0|Yes, 2 Atk} ?{Have Higher Ground?|No, 0|Yes, 1 Atk} ?{Target Prone?|No, 0|Yes, 4 Atk} ?{Smite?|No, 0|Yes, @{CHA-mod} Atk} but its not adding the results together its only applying the first yes answer and ignoring everything else like power attack yes are flanking yes the result gives me -1 instead of 1 any help would be awesome XD
1585439815
GiGs
Pro
Sheet Author
API Scripter
I'm not familiar with the sheet this is being used on, but if they rae being added into a calculation, they wont work because of the text after each number. You could try linking them together inside an inline roll: [[?{Power Attack?|No, 0|Yes, -1 [PA]} + ?{Are Flanking?|No, 0|Yes, 2 [Flank]} + ?{Have Higher Ground?|No, 0|Yes, 1 [High Ground]} + ?{Target Prone?|No, 0|Yes, 4 [Prone]} + ?{Smite?|No, 0|Yes, @{CHA-mod} [Smite]}]] The square bracketed words like Flank, High Ground, etc. are tags that print out with a roll, but you may need to remove them. Personally, though, I question the wisdom of adding 4 queries into an attack, especially when all of them are going to be No most of the time. It's 4+ extra clicks that will get tedious fast. There's a temptation to automate things to an excess. It's often better to just remember you are playing a tabletop game: roll the dice, then say out loud, "I'm flanking so that is 2 higher."
This worked like a charm the tags didnt work but thats ok and this is more for my players who are new to dnd and roll 20. Thank you for your help. XD