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

Pathfinder multiple damage types

So, I'm a purely kinesthetic learner and I have essentially zero coding experience so macros are incredibly confusing to me and reading guides hasn't helped me much because I need to be walked through it as I do it for me to really learn it.  I'm trying to set up an attack for the summoned monster of one of my players (specifically small lightning elemental in this case) and it does 1d4 + 1d3 electrical damage and I can't for the life of me figure out how to edit the macro formula in the character sheet in the attacks section to not only roll both those damages, but show them separately, and also signify that the latter roll is specifically electrical damage.  Anyone able to help a completely clueless girl on this?
1464011447
chris b.
Pro
Sheet Author
API Scripter
the simple way is to add it to the "description" section: "plus [[1d3]] electrical" It would not be added to the critical damage then because it would act like precision damage. 
If you want to add it to the damage section of the macro, it's fairly easy, without having to understand what the code is doing. In the Attack section, click the "Show Macro Text" to see the unholy mess of code-monkey's paradise. Look through it for where the  "{{damage= ...." part starts.  It will look like: {{damage=[[@{damage-dice-num}d@{damage-die} + [[ @{total-damage}  ]] ]]}} Right between the last ]]  and }}  insert  " + [[1d3]] Elect "  so it looks like: {{damage=[[ @{damage-dice-num}d@{damage-die} + [[ @{total-damage} ]] ]] +[[1d3]] Elec }} And that's it.  Since it's energy damage and not increased by a critical hit, you don't have to worry about updating any other part of the  macro text. EDIT: Corrected for missing closing ]] in examples
Thanks both of you.  Mark, I was working on something like that while trying to figure something out, good to know I was along the right track.  The problem with that is that it all ends up displaying as one damage total.  Chris, thanks for the suggestion, that's what I'm now going with.
Ah, sorry; I had a typo in my examples. (was missing a closing ]] ) {{damage=[[ @{damage-dice-num}d@{damage-die} + [[ @{total-damage} ]] ]] +[[1d3]] Elec}}    would give you the desired results on the same line as the regular damage roll.
Thanks so much!
1464279418
chris b.
Pro
Sheet Author
API Scripter
this is something we'll be adding soon. as soon as we get all the darn bugs out of our current page