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

Dragonborn Breath Weapon(5e Shaped)

so I'm trying to make a dicemod or something that will auto scale the damage die for a dragonborn breath weapon, I'm currently trying [[ceil((@{level} + 2) / 6)]] but it's only rolling 2d6 when I believe at 6th it should roll 3? any help would be great!
1573709991
vÍnce
Pro
Sheet Author
[[ [[(floor((@{level}-1)/5))+2]]d6]]
okay I tried that, it's adding 3 dice every time I click it
1573743047
vÍnce
Pro
Sheet Author
Sorry, try this one. [[ [[1+ceil(@{Level}/5)]]d6 ]]
hrmm maybe I'm just stupid it's not working for me, thanks anyway
Try [[[[1+(ceil((@{level})/5)))]]d6]] it works for  me.
1573918431
GiGs
Pro
Sheet Author
API Scripter
Vince's code should give 3 dice at level 6, which is what you said you wanted. Can you explain how this isnt working? What should be happening?
1573920971
vÍnce
Pro
Sheet Author
should work...
Maybe it is how you have it in the shaped sheet? For my dragonborn npc I created a racial trait and put the following code in the field before the d6 for damage; [[1+(ceil((@{level})/5)))]] It looks like this;