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

Repeating rolls Dice Quesiton

1524120131

Edited 1524120187
Hi there all, i was hoping you could help me with some macros and custom dice. I'm playing a home brew system with my friends using special four sided dice Called Bronze, Silver, and Gold dice. Bronze dice are special four-sided dice with sides reading 0, 1, 1, 2. They can be simulated by rolling 2d2-2. Silver dice are special four-sided dice with sides reading 2, 3, 3, 4. They can be simulated by rolling 2d2 Gold dice are special four-sided dice with sides reading 4, 5, 5, 6. They can be simulated by rolling 2d2+2. The question i have is, is there a way to roll a number of formulas by imputing a number? For instance if i had a macro that included ?{Number|1} or something similar to open up a number imput popup to then roll that many formulas? For example: Type in 3, hit enter, and the macro rolls 2d2+2 three times?
1524127473

Edited 1524127850
Ziechael
Forum Champion
Sheet Author
API Scripter
I'd set these up as  rollable tables . Your main thing would be the weighting but it would be simple enough as the spread is consistent: Gold 4 (weighting 25) 5 (weighting 50) 6 (weighting 25) Silver 2 (weighting 25) 3 (weighting 50) 4 (weighting 25) Bronze 0 (weighting 25) 1 (weighting 50) 2 (weighting 25) Then you can do rolls like [[ 3t[Gold] ]] to get results ranging from 12-18, depending on your system you could even have [[ 3t[Gold] + 3t[Bronze] ]] to get results ranging from 12-24. Hovering over the results would also show the numbers rolled in case that is important to you too. With regards to a dynamic setup for the number of dice a number of macros will cover you nicely: #Gold [[ ?{How many gold}t[Gold] ]] #Silver [[ ?{How many silver}t[Silver] ]] #Bronze [[ ?{How many bronze}t[Bronze] ]] #Gold-Silver [[ ?{How many gold}t[Gold] + ?{How many silver}t[Silver] ]] #Gold-Bronze [[ ?{How many gold}t[Gold] + ?{How many bronze}t[Bronze] ]] #Gold-Silver-Bronze [[ ?{How many gold}t[Gold]+ ?{How many silver}t[Silver]+ ?{How many bronze}t[Bronze] ]]