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

Calculating the number of Dice to roll

I am trying to calculate how many dice to roll and then roll them. I get my math to work, but the roll doesn't happen. [[ {floor((@{Garish Bloodline|level} + 1)/6)}d8 ]] It appears the 'd8' part is just dropped and no roll occurs. I have trying to figure this out for way too long. So any help will be appreciated.
The parser doesn't seem to like complicated expressions for the number of dice. But you can switch it to an inline roll and make it work that way. So the roll would become [[ [[floor((@{Garish Bloodline|level} + 1)/6)]]d8 ]]
I solved it. [[ [[floor((@{Garish Bloodline|level} + 1)/6)) ]]d8 ]]