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 .
×

nested Roll Queries with nested macros is this possable?

1464434584

Edited 1464434648
i am getting ready to run a 5E campaign and have made up a potion that changes it's effects based off of several roll tables. my current problem is there are 50 effects currently and possibly more and the effects information is scattered in both the DMG and PHB. i have been trying to make up a macro that can be a look up for me and generates the information in the chat that only i can see. i can make it work if i type out all 50 effects in a single ?{Look up what?|effect 1, _____ |effect 2, ____ |.... and so on but that leads to a very long drop down list. some of the effects are very similar  like Hill Giant Str, Storm Giant Str, Frost Giant Str etc. so i thought i could nest to combine similar effects using the method in the wiki for nesting. that seems to work if i do not save the changes if i do it seems that something is changing the markup from the HTML entities back to | , and } thus breaking it. my next option was to separate the similar effects into macros that then have there own ?{Look up what?|effect 1, _____ |effect 2, ____ |.... and just simply call the macro in the look up macro i am not able to get this method to work.  Can anyone help get this code to work or tell me how i can get nested Roll Queries to stay working in a macro? My current  Macros are ( there is still more to be added to look-up but it fails currently so i want to fix before adding more)  Look-up ?{look up | Acid, 2d6 damage | Animal Friendship,1 hour DC 13 Wis at will cast animal friendship | Clairvoyance, 10 min current location 1d4 >=2 hearing else sight | Climbing, Adv on str checks climb speed = walking 1 hour | Giant Str, #Giant | Poison, 3d6 damage each turn DC 13 Con save reduce 1 dice | Healing, #Heal | Breath Weapon, #Breath } Giant ?{1 hour of |Hill, 21 str +5 |Frost or Stone, 23 str +6 |Fire, 25 str +7 |Cloud, 27 str +8 |Storm, 29 str +9 } Heal ?{ what one |Healing, 2d4+2 hp |Greater, 4d4+4 hp |Superior, 8d4+8 hp |Supreme, 10d4+20 hp} Breath DC 13 Dex save for half 4d6 damage 3 uses or 1 hour 30 ft ?{ what one |Fire, Line |Ice, Cone |Lightining, Line |Poison, Cone}
Whenever you edit a "Macro" it reverts the HTML Entities back to the actual character. To preserve the character codes, you need to create this as an "Ability" on a character journal. What's often done is creating a generic "Abilities" sheet that everyone has access to and create your Abilities there.
1464439996
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi Serith, since your a pro subscriber, I might suggest looking at using the  recursive tables  script to automate this rather than having to select each option.