8
\$\begingroup\$

I would like to roll for the random Chaos Bolt (first level spell) damage type, which is variable.

In play, I have to roll 1d8 and as a result I get the damage type of the spell:

I guess it should be something like:

&{template:default} {{name=Damage Type}} 
{{[[1d8]]|acid|cold|fire|force|lightning|poison|psychic|thunder}}

The result should be:

  • Damage Type: cold

Nice to Have:

  • if you hover over cold you see '2'
\$\endgroup\$
  • 2
    \$\begingroup\$ Note that Chaos Bolt has you roll *2*d8, and you can pick either one to determine the damage type. \$\endgroup\$ – GreySage Jan 22 at 16:04
  • \$\begingroup\$ @GreySage Thanks, I will add that to the macro \$\endgroup\$ – Torsten Jan 22 at 19:31
  • \$\begingroup\$ You shouldn't edit your question to include the answer (or rather, the macro you arrived at based on the answer). Instead, you should leave it as a comment on the accepted answer, or as an answer itself if you feel it is sufficiently distinct from the existing answer. In general, answer content doesn't belong in the question; it makes the post confusing to read and discourages future answers. \$\endgroup\$ – V2Blast Jan 23 at 8:16
  • 1
    \$\begingroup\$ @Torsten: I'm aware. The previous comment that linked to it just mostly made a point that was already addressed (it linked the related question as an afterthought to that point), so I deleted that comment and reposted the link to the related question as its own comment. :) \$\endgroup\$ – V2Blast Jan 23 at 9:46
19
\$\begingroup\$

This is something you should use a Rollable Table for. Create a table with 8 entries, one for each damage type. You could call it "Chaos-Bolt". Then modify your macro above to:

&{template:default} {{name=Chaos bolt}}{{damage type = [[1t[Chaos-Bolt]]]}}

If you want the actual number to show, just write the entries as:

Acid (1)
Cold (2)
...

Rollable Table

The results will look like this:

enter image description here

|improve this answer|||||
\$\endgroup\$
  • 1
    \$\begingroup\$ Great to see you drop by again, thanks Keith! I have a shadow sorcerer in the game I DM who would like this. \$\endgroup\$ – KorvinStarmast Jan 22 at 16:36
  • \$\begingroup\$ Perfect solution. Thanks a lot. That one works great. \$\endgroup\$ – Torsten Jan 22 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.