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

Combat Tables

I have created a Combat Dice table for Conan and included a Macro, but the Macro rolls the table once, is there a way to set up a macro that will roll the table equal to the damage. For example when I roll the combat table it rolls once giving me 1 of 6 results, but if I wanted to roll 4 damage dice, which converts to 4 rolls on the combat table is there a way of doing this in a Macro.  I know how to set up an option to choose the number of dice rolled but this does not work with a combat table. Thanks
1520543008

Edited 1520543137
Sort of. I myself don't know how to do this without a script. I do however know if you're a Pro subscriber you can use The Aaron's script Recursive Tables to do this. I use these in my game and find them a lot more valuable than the regular rollable tables. Probably not the answer you're looking for not being a Pro subscriber and maybe someone knows how to get it to print multiple rolls without this. What you would do is create a rollable table like so, I named mine Combat. Then you can create a macro that includes a line like so !rt[[[[?{How Many Rolls?}]]t[Combat]]]. The !rt is needed to use Recursive Tables, which will print all of the results. When you run the macro, it will ask like this. Then that will output to chat like this. Likewise, you could change the query to a roll like !rt [[ [[2d6]]t[Combat]]] to get 2d6 results, etc.
The real value of Recursive Tables is combining these like so. I modified the above combat table to locations, then added an injuries table. Then I changed the macro to roll d6 times on the table. You can see the random results in the chat from clicking it a few times here.
When you roll multiple times on a table, normally only the first result is displayed.  You can mouse-over the result if using Inline Rolls  [[ 1t[TableName] ]] or see all the other rolls if you use a plain  /r 1[TableName]   (but it's pretty ugly) The only way you can roll multiple times on a table and have each result displayed is to either specify how many you're going to roll manually (and actually iterate the roll that many times), or to make use of an API-Script that expands the functionality ( Obligatory TheAaron Script Reference ) You can automate SOME of the leg-work of manually iterating through the table through a second drop-down query that you activate after you know how many times you have to roll it.  The macro itself can get a little messy (especially if you have more than just six possibilities) but you'd only have to create it once. ?{How Many Table Rolls Are Needed? | One, [[1t[TableName]]] | Two, [[1t[TableName] ]] [[ 1t[TableName] ]] | Three, [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] | Four, [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] | Five, [[ 1t[TableName] ]] [[1t[TableName] ]] [[1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] | Six, [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] [[ 1t[TableName] ]] }