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

[PF Character Sheet] How to add additional damage lines to weapon macros in a certain order?

So I've been toying around with the weapon macros for a couple of my PC's, because their weapons have fire or cold damage on them. I got the macro to roll the damage and display it in the little table it generates in the chat, but it always puts the result after the weapon info/damage type lines, regardless of where I put the actual code in the macro.  I basically want that fire damage line above the type line, but I cannot find a way to do it. Any thoughts?
1462512022
vÍnce
Pro
Sheet Author
Roll templates have "defined" formatting and/or logic for specific properties(keys) and values.  On the PF sheet we have defined formatting and logic for the first 8 attacks which include attack(2-8), damage(2-8), crit_confirm(2-8) and crit_damage(2-8).  Any other "undefined" property(key) get generic formatting and placed after the defined properties(keys).  So, since Fire Damage is not defined within the sheet's roll template(how could we know?) it gets placed at the bottom of the output.  Unfortuneatley, other than modifying the sheets HTML(specifically the pf_attack roll template), I can't think of a method to get your Fire Damage placed directly under a specific attack. For what it's worth, adding a secondary damage attribute for attacks is on the to-do list for the sheet. The never-ending to-do list that is...  ;-P
Thanks for the reply! I do hope you guys get to that soon :P
Nathan, what you want to do is go to the PF sheet section where it shows the macro itself and add your extra damage right after the last ]] of the damage=  section but before the closing }} You won't create a whole new line that way (which just gets placed at the bottom, generally) but will instead show it next to your regular damage. This is how I put in "vs AC" on my attack rolls to make them stand out from damage, and how I add extra damage like Vicious enchantments.
That works amazing! Thanks so much Mark!
1462677188
vÍnce
Pro
Sheet Author
Mark G. said: Nathan, what you want to do is go to the PF sheet section where it shows the macro itself and add your extra damage right after the last ]] of the damage=  section but before the closing }} You won't create a whole new line that way (which just gets placed at the bottom, generally) but will instead show it next to your regular damage. This is how I put in "vs AC" on my attack rolls to make them stand out from damage, and how I add extra damage like Vicious enchantments. Great tip Mark.