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 to make random damage rolls from a character sheet?

I am trying to set up an ability which rolls a random type of damage each time, from the following types:   acid, cold, fire, force, lightning, necrotic, poison, psychic, radiant, and thunder. How to do this? Thanks!
1651680331

Edited 1651680377
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Have you tried using a rollable table with all of the damage types, and then calling it in-line with something like: [[1t[Damage-Type-Table]]]
You could set up a rollable table named 'DamageType' with those items each as an entry, then use: [[1t[DamageType]]]
Jarren said: You could set up a rollable table named 'DamageType' with those items each as an entry, then use: [[1t[DamageType]]] Thanks, I'll try it!
keithcurtis said: Have you tried using a rollable table with all of the damage types, and then calling it in-line with something like: [[1t[Damage-Type-Table]]] Yes, needed a push in the right direction, I will try  that!