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

Newbie question about calculating attack bonuses in a macro

I'm creating a simple token action that will roll an attack for the selected token and then apply the correct attack bonus to it. It would look something like  /roll d20 + @{selected|strength_mod} +@{selected|xxxxxx}  <--  But which "Attributes and Abilities" number should I use to add to the strength bonus alone? 
1696529441

Edited 1696529466
What game are you playing and which character sheet are you using? Assuming D&D 5th edition using the D&D 5E by Roll20 sheet (adding Strength Modifier and Proficiency Bonus): /roll d20 + @{selected|strength_mod}[STR} +@{selected|pb}[Prof] Or you can reference the attack directly (assuming this is the first attack listed on the sheet: %{selected|repeating_attack_$0_attack} Or you may want to use my Statblock MacroMule approach so you don't have to create individual macros for each attack.
I'll try this out! Thanks!