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

Additional Line for Global Damage Modifier (Shaped Sheet)

Hi, so I'm building a paladin who has hunters mark, improved divine smite and a weapon that deals fire damage. I'm trying to find a way to get each damage onto it's own line instead of getting them all bunched up weirdly. Is there anyway to make that happen using the global modifiers cause I'd like them to be toggleable as well.
1576202754
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
How are you doing it now? Not sure what you mean by "all bunched up weirdly". Have you looked into using attachers?
Like, I try doing it in the modifiers but it just adds the numbers all up and that doesn't help because they're different damage types. And I thought about those but I don't know how to make them toggleable.
1576207022
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can set up one attacher that has the code in it to give you API Command buttons to roll all those damage types. It would be included in any attack.
I was hoping for something a little more toggle and alot less clicky so it's a little more seemless. If that's not possible than I can do with the buttons.
1576222359
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I'll show you some of it, but you should really read through the documentation . It's linked at the bottom of every sheet. It explains in detail how these features work. This is not for Hunter's Mark, since I don't have a ranger build handy, but this shows one way to set up Sneak Attack for a rogue. Attachers are bits of code that add to an skill, attack, save and other features whenever they are invoked.I have this attacher set up to roll whenever an offensive power (an attack) is used: here is the code: {{text=[Sneak Attack](~repeating_classfeature_-kejkmevdzrcy69kwqeq_action) [Double Strike (Ability granted by Sickles)](~repeating_trait_-kul2q6dz1r3azvdqlgm_trait) [Sound Effect](!roll20AM --play|Dagger_01 by DM98362)}} It's basically adding the text field to the attack template and putting in some Ability Command Buttons. The first one is the only one that's important. [Sneak Attack] is the label of the button. (~repeating_classfeature_-kejkmevdzrcy69kwqeq_action) is the ability that is invoked when the button is pressed. The documentation explains how to find the name of the ability, but you could just as easily create an Ability on the Attributes and Abilities tab of the character journal and call it "Sneak-Attack" with a macro code of "plus [[3d6]] weapon damage". If you did this, the button becomes a little less arcane: [Sneak Attack](~Sneak-Attack) The output for the code I posted above looks like this, when I use a weapon attack: When I click the Sneak Attack button, I get the following output: Which is drawn from this ability on the character sheet (the one referenced by the ~repeating_classfeature_-kejkmevdzrcy69kwqeq_action code above: This approach is probably best since Hunters Mark and Divine Smite are conditional depending on attack. There are ways to get it to roll automatically, but you should be able to find examples in the documentation.