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

In the text of a Trait, have an inline roll so that when i click on the trait, it rolls the dice?

For example, I have Second Wind on a character, and I want the roll for hit points to happen when the description of the trait is sent to chat. I tried this: " You have a limited well of stamina that you can draw on to protect yourself from harm. On Your Turn, you can use a Bonus Action to regain Hit Points equal to /r 1d10+4 (Fighter level). Once you use this feature, you must finish a short or Long Rest before you can use it again. " That doesn't work. 
1668919390

Edited 1668919497
Gauss
Forum Champion
replace "/r 1d10+4" with: [[1d10+4]] Bonus: replace "+4" with "+@{level}"
1668971176
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Waargrin! More info: The double bracket construction Gauss is providing is called an inline roll . You can still see the individual dice and the formula that produced them by hovering over the result in chat.
Thanks Gauss and Keith!