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

Roll Query Conundrum

I need some help with a macro that's driving me nuts. for context, I'm playing a 4e barbarian and making a macro for the Swift charge power, which grants me a charge attack after I reduce an enemy to 0 hp. Because it is just a charge, and I can later have several powers to use on a charge I want to use a roll query to ask what power I want to use, and in that roll query to recall other macros of the powers in question, which themselves have roll queries, specifically the attack macro. The macro so far is as follows. Note that I have several layers of macro recalls to have almost automatic updating of the stats as i level. /me charges an enemy after FELLING his target! ?{Which Attack?|Howling Strike, #Howling-Strike } and it comes out as Quinn charges at an enemy! [[1d20+9 vs AC dealing 17 damage! } for context the power in question is /me charges at an enemy! [[#.Attack +#.Charge-Atk ]] vs AC dealing [[@{Quinn|WeaponDmg}+1d6+#.Charge-Dmg +@{Quinn|ThunderHooves}+#.Damage ]] damage! and the attack macro being recalled is 1d20+[[@{quinn|strmod}+(@{quinn|level}/2)+[[(floor((@{quinn|level}-1)/10)+1)]]+2+?{Other mods?|0}]] it gets confused right at ?{Other Mods?|0}]] and I cant figure out how to fix it. Any ideas? Earlier a forum Mod pointed me to a wiki about advanced roll queries, specifically using different character phrasing to replace the roll query characters and enforce priority. Tried moving things around, but nothing is working and I'm at wits end. Also sorry for the format, I haven't learned to make those text boxes yet.
?{Other mods?|0} is a nested query inside of the main query so that is where you need to add the html entities. Try using ?{Other mods?|0} and see if that fixes it.
it did, kinda. got through the first problem but now none of the initial macros will work, with the same problem. screw it ill just cut out the roll query, have it be just an emote message
1465593359

Edited 1465593373
Kryx
Pro
Sheet Author
API Scripter
I'd recommend using chat macros over queries. Queries are really poorly executed and difficult to get right/maintain.