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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Maxiumum # of Die

For things such as spells that are ""The target takes 1d4 points per level (maximum 5d4)" Using @{level}d4 work until level 6. now it is rolling too many dice Any Idea on how to set a max number of dice?
1652077678

Edited 1652108802
[[{@{level},5}dh1]]d4  [[{@{level},5}kl1]]d4 I’m doing this from memory on mobile so the format may be a little off. 
1652084803
GiGs
Pro
Sheet Author
API Scripter
You want to use dh or kl instead of kh .
GiGs said: You want to use dh or kl instead of kh . Whoops yep! Fixed above. 
You also need to specify the amount to keep/drop. So [[{@{level},5}dh1]]d4
1652115422

Edited 1652116130
OK so that works. I am looking at the dh modifier to see what it does, and it drops the highest rolls. which I want it to be "fair" so to speak is there a mod to make it keep the first 5 rolls instead of dropping high or low rolls? is that what the ,5 is doing? OH.... I see. because the dh mod is applyiny to @{level} and not the overall dice roll, the dh mod isn't touching the actual roll, right?
1652124914
Kraynic
Pro
Sheet Author
Right, it is only applied to how many dice are rolled, since it is used before the dice roll.
1652124955
GiGs
Pro
Sheet Author
API Scripter
I thought you didnt need to specificy the number if it was just 1 (so dh is the same as dh1). I may be misremembering though. To understand the dh you have to understand it's a group roll. Groups are surrounded by { }. So you have here {@{level},5}dh1 That's a complete think. It's a group of two values, @{level{} and 5, and the dh1 says drop highest one. So when level is below 5, the 5 is dropped, and when level is above 5, the level is dropped. You could easily have more than two values {@{level},@{something-else},5}dh2 and in this case, the two highest values would be dropped, leaving only the highest single value. It's more common in such situations to use kh1, like {@{level},@{something-else},5}kh1 Lots of games have that kind of mechanic, where you roll a bunch of dice and keep the highest one, which you could write as /roll 6d6kh1 No group {} are needed here because i's a simple roll. I;m just showing the principle. So dh1 simply means "drop highest one" and kh1 means "keep highest one", and in a group roll like {something, something else}dh1 you drop the highest value.