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

How do i roll additional dice per level?

How do i get this macro to roll me additional dice per level? I am using this for my monsters random hit points when i roll initiative. example macro: [[2d8+2]] What i want is an additional d8 added per level. How do i do this?
If its d8 per level [[ ?{Level|1}d8 + 2 ]]  or if at 1 st  2d8 then 2d8 at 2 nd try this [[ 1d8 + ?{Level|1}d8 + 2 ]]
Thats it! Thank you!
1530496050
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you are using the OGL sheet, and using levels (not CR) you can use: [[[[@{selected|level}]]d8+2]] This has the advantage of not requiring a rollquery. You merely need to have the token (representing a creature) selected. If you are using CR for your calculation, then the formula is: [[[[@{selected|npc_challenge}]]d8+2]] This rolls 1d8 per level or CR and adds 2 to the sum.