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

'Complex' dice roll

1597293377

Edited 1597293471
I'm creating a macro where there is a roll query, and then one of the answers should let the player roll a number of d6 equal to 1 + half of the character's level (rounded down). Is this possible without API?
1597303000
Kraynic
Pro
Sheet Author
[[[[1+floor(@{level}/2)]]d6]]  You would need to replace @{level} with whatever the attribute call is for the sheet you are using.
It works beautifully, thank you so much!