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

Rollable tables question

Hello all, I am trying to create a table with entries that have both a formula that references a journal entry, and a description output in the chat window. My preliminary entry in the Roll-able Table is: [[0d0 + 2 + @{selected|dexterity_mod} [Dexterity]} + @{selected|PB} [Proficiency] ]] strikes an arm! And I am exicuting the table with this command: [[ 1t[RollToHitTable] ]] which has worked for other tables without references, but all that is happening in the chat window, is the original formula from the table, being highlighted and printed in the chat window. Are there any suggestions? Thank you!
1492013371
The Aaron
Pro
API Scripter
Formulas in Roll Tables are not expanded.  You can expand them with the RecursiveTables API script. You'd just need to specify: !rt [[ 1t[RollToHitTable] ]]
Barry S. said: [[0d0 + 2 + @{selected|dexterity_mod} [Dexterity] } + @{selected|PB} [Proficiency] ]] strikes an arm! Also a heads-up: I see an extra } in your roll (bolded)
Thank you both!