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

SRD Hand Spells Macro Help

I'm trying to create an effect line to include in the 3.5 spell sheet macro for the "Hand" spells.  I got stuck on the level 7 when the spell has to select the caster's best attribute.  Here's what I've made: {{Use this round:=?{Select|Interpose for +4 AC|Bull Rush for [[d20+16]] vs. Target's Strength Check|Grapple for [[d20+@{selected|casterlevel} + [[{@{selected|INT-MOD},@{selected|CHA-MOD},@{selected|WIS-MOD}}kh]] ]] }}} To me, this looks like it should work but the interpreter is generating odd results.  In the generated selector, the first 2 look correct but the 3rd option is showing up as Grapple for d20+12+6 and then stops, so it looks like the comma characters are causing an operator overload problem with the dice function vs. the select function.  Is there a way to fix this? Thanks! When I select the first option I get : "Interpose for +4 ACkh]] ]] }"
1553364470

Edited 1553367677
vÍnce
Pro
Sheet Author
Couple things; you have a query with multiple options, but it doesn't look like it's setup in the proper format.  e.g. ?{pick something|Option 1,1 |Option 2, 2 |Option 3, 3} Notice the that you have a pipe , followed by an option , followed by a comma , then a value . Also, you are following (lol) falling victim to roll20's character substitution problem within query's. Try this(note: if you edit your macro later, you will lose the special character substitutions and break the query. You'll need to make the substitutions again if you ever open/edit the macro in the future...  Chat Menus are a much better option.); {{Use this round:=?{Select|Interpose, Interpose for +4 AC |Bull Rush, Bull Rush for [[d20+16]] vs. Target's Strength Check |Grapple, Grapple for [[d20+@{selected|casterlevel} + [[{@{selected|INT-MOD} , @{selected|CHA-MOD} , @{selected|WIS-MOD} } kh1]] ]]} }} Hope this helps.
Thank you Vince!  That was helpful.  The Chat Menus will take some digestion to figure out how to use well, but the fix worked for now!