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

Adding a second roll to a rollable table

I would like to add a 1d12 roll to this macro. !rt /w gm&{template:default}{{name=Undermire Random Encounter}}{{The Party Faces=[[1t[Undermire-Random-Encounters]]]}} If the 1d12 is 1 or 2 then it rolls the table.  If it rolls 3 - 12 it displays "no encounter".  Is this possible?
1762660976
Gauss
Forum Champion
I suggest adding a line to the table that says no encounter. Then give it a weight 5x higher than the total weight of all other lines.  Example: if all lines have a total weight of 100, give the no encounter a weight of 500. That will represent rolling 3-12. 
1762699404
timmaugh
Forum Champion
API Scripter
Gauss's solution is the most straightforward and leverage's only Roll20 tools. It will, however, make *every* roll against the table have the opportunity for a 2 out of 12 "non event". You could solve this by creating another version of the table (one for the chance of "no event" and one with the extra entries)... or you could use the Metascript Toolbox to introduce a logic conditional (IF/THEN) to the line. If you want that solution and can't see it yourself, post back.