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 .
×

quality of a potion Api

Hello, I would like to build a macro or an API script that can be used to determine the quality of a potion. For example, a d100 is rolled and the result is used to calculate how good the quality is that should then be entered in the chat For example, the player rolls a 60 which results in a great healing potion. sorry for my bad english i hope you understand what i mean
1615560207
David M.
Pro
API Scripter
Easiest thing would be to create a rollable table with the various potion qualities weighted according to the probability of the result. Then have the player roll on the table with  [[ 1t[TableName] ]] or /roll 1t[TableName]
thx for the help