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

NPC attack where you can choose the damage type

I'm creating a NPC that can choose from several damage types when attacking. Instead of making a separate attack action for each damage type is there a way to have so you can select the damage type on either clicking the attack or rolling for damage? Like how when you use a spell a popup comes up asking what level you want to use it at.
Oh, I'm using DnD 5e NPC sheets btw.
1688569260

Edited 1688569272
GiGs
Pro
Sheet Author
API Scripter
This is easy - adding a query to the attack rolls, like ?{DamageType|Fire|water|Whatever} The tricky part is knowing where to put the query.
Well, i have never done that kind of stuff before so what is the exact formula and how do I apply something like that to it? Is it within the npc sheet itself? If so, where exactly?
1688575165
GiGs
Pro
Sheet Author
API Scripter
I don't use that sheet, so I cant tell you. Maybe someone else knows.
1688575290

Edited 1688575480
Gauss
Forum Champion
Hi, I will be your "Someone Else" today. Assuming this is the DnD 5e by Roll20 sheet: Open the character sheet, then edit the attack. Where it states the damage type insert the query that GiGs gave you.  Here is an example:  Red box: that is to edit the attack.  Green box: that is where you put the query. Note: it could go on the second damage line if there are two damage types.  Red box (2nd time): close the edit. 
Awesome! thanks! Ill share the npc sheet I create as well if someone wants to use it.
Hmmm.... how can I share it?
1688606963
Gauss
Forum Champion
Isaac M. said: Hmmm.... how can I share it? I don't understand the question. Is this a custom character sheet? I thought we were discussing the DnD 5e by Roll20 character sheet. 
Yeah. I made the npc now and I thought someone might get some use or inspiration from it so I wanted to share the actual sheet without someone having to manually enter everything.
1688612670
Gauss
Forum Champion
Isaac M. said: Yeah. I made the npc now and I thought someone might get some use or inspiration from it so I wanted to share the actual sheet without someone having to manually enter everything. The type of alteration you are making is a simple one, it probably doesn't need to be "shared" in the way you might be thinking. 
Ah, well here are screenshots of the npc i made for the campaign. had a lot of fun