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

Attack Macro help needed (5e)

I'm in frequent need of modifying the output of the standard rolls from the PC/NPC character sheets. For example, I have a character with the Great Weapon&nbsp;Fighting Style I could use: /desc desc Attack: [[d20+5]] | [[d20+5]] Damage: [[2d6ro&lt;2 +3]] | + [[2d6ro&lt;2]] Crit But I would prefer to modify the standard greatsword attack: @{guy|wtype}&{template:atk} {{mod=+5}} {{rname=[Greatsword](~-KoLtsrKMkqVdiXhoG-e|repeating_attack_-KoLzrCom59YddGbFPG5_attack_dmg)}} {{rnamec=[Greatsword](~-KoLtsrKMkqVdiXhoG-e|repeating_attack_-KoLzrCom59YddGbFPG5_attack_crit)}} {{r1=[[1d20@{guy|halflingluck}cs&gt;20 + 3[STR] + 2[PROF]]]}} @{guy|rtype}@{guy|halflingluck}cs&gt;20 + 3[STR] + 2[PROF]]]}} {{range=}} {{desc=}} ammo= @{guy|charname_output} But I don't understand what most of the strings in this macro do, deleting some of them seems to have no effect on the roll and this page:&nbsp; <a href="https://wiki.roll20.net/D&D_5e_OGL_Roll_Templates" rel="nofollow">https://wiki.roll20.net/D&D_5e_OGL_Roll_Templates</a> Hasn't helped me a lot. As I understand it, (~-KoLtsrKMkqVdiXhoG-e|repeating_attack_-KoLzrCom59YddGbFPG5_attack_dmg) Accesses some obscure macro that rolls for the damage, but this understanding doesn't get me closer to modifying it for my needs. So where I can read the "rules" on how all those things in the standard macro output work? Or how can I modify just the damage output on those? &nbsp;
Just add the ro&lt;2 to the damage rolls in the attacks section, when you edit the attack.
Where the 1d8 is in your weapon attack... replace it with 2d8ro&lt;2 instead.
Sky said: Just add the ro&lt;2 to the damage rolls in the attacks section, when you edit the attack. That makes sense.&nbsp; A lot of various things to add into attacks section, but should work. It also seems to me that if you do 2d6ro&lt;2 it only re-rolls one of the dice. Ex. output: (2+1+3) two is grey,&nbsp;one is red, three is white. Should be fixed by going 1d6ro&lt;2+1d6d6ro&lt;2.
No, it works for both dice. If you roll a 2 and 3, it would re-roll the 2, which unfortunately you rolled into a 1 (red), leaving you with the 2 (grey), 1 (red), and 3 (white).
Sky said: No, it works for both dice. If you roll a 2 and 3, it would re-roll the 2, which unfortunately you rolled into a 1 (red), leaving you with the 2 (grey), 1 (red), and 3 (white). Oh, okay, makes sense. I somehow figured it was always putting the main rolls first&nbsp;when the re-rolls (meaning 1+2 originally, 1 rerolled to 3). Thank you!