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 1e macro to attack while rolling 2d20 and keeping higher

1616756222

Edited 1616756552
I wanted to modify the attack template on a character sheet for pathfinder 1e in order to have the attack roll 2d20 and keep the higher one (using greater weapon of the chosen). Is there a way of doing it? because rolling an attack in chat and copying that template to modify it result in an attack that will not update its modifiers when they are updated on the sheet
1616787299
vÍnce
Pro
Sheet Author
Hi Bistrus, which PF sheet are you using? (Official, Community, or...) FYI: the PF Community sheet exposes the macro-text of attack rolls which "should" allow you to edit the "1d20" part of the attack to something like "[[ {1d20,1d20}kh1 ]]".
Hello, thanks in advance for the help. I'm using the official Pathfinder sheet.
1616802798

Edited 1616802855
vÍnce
Pro
Sheet Author
Bistrus said: Hello, thanks in advance for the help. I'm using the official Pathfinder sheet. I really don't know the official sheet so someone else might have some better suggestion(s)... 1. make two attacks and take the higher roll. 2. add an extra attack at the same bab/mod as primary attack and take the higher roll. Otherwise, I think you'll need to make a custom macro.  Make an attack from the sheet and use the UP arrow in the chat input field to see the attack macro sent to chat. Copy that into a text editor to use as a reference.  You'll need to grab each attribute used for the attack.  You can hover over various fields on the sheet to learn the attribute's name. ie hovering over an attack's name; "@{repeating_attacks_$id_atkname}"  Start substituting the actual attribute names into your new macro. Depending on where you want to store your macro, you may want to include the character name or "selected|" with each attribute call.  You will also need to grab the rowID and substitute that wherever you see "$id" in your attribute name.  Easiest way to grab the rowid if it's not included on the sheet, drag and drop the attack to the macro bar, execute it, then use the UP arrow in chat trick.  Copy and use a find & replace in your text editor. ie  Find: "$id" Replace: "-LL8HbhJbtuaFVVcfjl5".  Finally, make sure to substitute the "1d20cs" with "[[ {1d20cs>@{selected|repeating_attacks_$id_atkcritrange},1d20cs>@{selected|repeating_attacks_$id_atkcritrange}}kh1 ]]" for advantage.  Easy as that.  lol
I'll give it a try. Thanks