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

Macro stuff - Lots of info

I emphasize using macros whenever possible, because it will speed things up as well. Using the roll20 bells and whistle stuff essentially. For DM : This could help you with making initiative rolls on mobs. /roll 1d20+?{Modifier?}&{tracker} OR [[d20+?{Modifier?}&{tracker}]] - Whenever you hit this macro(with your target selected), a "Input Value" box will appear, all you do is type in the numerical value, and boom, done. OR /me @{selected|token_name}[[d20+@{selected|bar2}&{tracker}]] The above would require you to put the dex bonus into one of the token creatures bar's and then you can change the 'bar2' to the appropriate one, but it will pull the number you typed in. This is really useful for groups of monsters, like goblins if you want to give each one an initiative order. ALSO: For a double variable Macro for attack/dmg: The attack roll is [[1d20+?{Modifiers|0}]] to hit The damage on hit is [[?{Damage Roll}]] damage - Two separate boxes would pop up, one for the -to hit- multiplier(IE: 7, or -1 for negatives), and the second for the dmg value IE: 1d8+4 For Players: These macro's make the numbers self-adjusting to your proficiency bonus(PB), and your main attack stat bonus. Any further bonus', or magical weapon properties and such need to be added manually. As long as you keep your character sheet up to date, the stats will adjust accordingly. Just one example if you're using a great sword, and have the 'Great Weapon Fighting' skill. Macros can also have self adjusting numerical values, but they have to be made inside your character sheet, in your 'Attributes & Abilities' tab (or else they wont read from your character sheet values). Attack with great sword, GWF skill /me makes his attack! [[d20+@{PB}+floor((@{strength}-10)/2)]]|[[d20+@{PB}+floor((@{strength}-10)/2)]] vs AC! [[2d6ro<2+floor((@{strength}-10)/2)]] damage! <---The macro basically reads Reroll Once if a die lands on 2 or less. It does not sum up the highest value. Add [[2d6ro<2]] if it crits! Rogue attack example: /me stabs his opponent with his Rapier! [[d20+floor((@{Dexterity}-10)/2)]]+@{PB}]]|[[d20+floor((@{Dexterity}-10)/2)]]+@{PB}]] Vs AC! Deals [[d8+floor((@{Dexterity}-10)/2)]] damage! Add [[d8]] if it crits! Add [[xd6]] for sneak attack! Personal Example: Melee-Attack /me attempts to remove a limb from his enemy! [[d20+@{PB}+floor((@{strength}-10)/2)]]|[[d20+@{PB}+floor((@{strength}-10)/2)]] vs AC! Deals [[D8+floor((@{strength}-10)/2)]] damage! Add [[D8]] if it crits. Add flavor text, make it cool. If you want help, let me know, ask below and I can probably write you up the appropriate macro. Happy holidays all.
Thanks for sending me this info. Right now I am busy getting moster tokens and NPC and maps ready. I will work on adding macros etc when I can. I appreciate any suggestions and examples of this stuff you have will add them when I can.
1421089992
Paul S.
Sheet Author
API Scripter
Yep I love macros. So very handy.
Hey Nick, do you use APIs at all?
I have not messed with the API stuff all.
I only ask because I really like the target macro.