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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Macros

1472666684

Edited 1472667724
G.
Pro
I am new to Roll20 but have been putting my time in.  My reverse engineering some macros i have come up with some good ones but I am an HTML wiz and I am an Old Guy so sometime tech speak gets the best of me.  I was wondering if any DMs, Players have a library of macros they find useful that they would be willing to share / trade with me.  I have a bunch that I really like I will post below.  Also i was wondering if there was a clear concise place to use templates ?  I like the new 5e templates but I have had a hell of a time trying to reverse engineer one.  Thanks in advance for your help. Here are some macros i use on the regular PC MELEE / RANGED ATTACK- &{template:default} {{name=Weapon}} {{Attack Roll= [[1d20+@{ability_mod}+@{PB}]]|[[1d20+@{ability_mod}+@{PB}]]}} {{Dmg= [[ndx+@{ability_mod}]] Damage Type}}{{If Crit= [[ndx]]}} ROGUE SNEAK ATTACK- Additional [[(@{level}/2)d6]] sneak attack damage PC PERCEPTION- &{template:default} {{name=Perception Check}} {{Active Perception= [[1d20+@{wisdom_mod}+@{PB}]]|[[1d20+@{wisdom_mod}+@{PB}]]}} {{Passive Perception= [[10+@{Wisdom_mod}+@{PB}]]}} PC STEALTH- &{template:default} {{name=Stealth}}{{Stealth Check= [[1d20+@{stealth_prof}+@{dexterity_mod}]] | [[1d20+@{stealth_prof}+@{dexterity_mod}]]}} CURE WOUNDS- &{template:default} {{name=Cure Wounds}}{{Casting time= 1 Action}}{{Range= Touch}}{{Duration= Instant}}{{School= Evocation}} {{Components= V, S}} {{Heals= [[?{Spell Slot|1}d8+@{spellcasting_ability}]] HP}} {{Effect= Does not affect undead & constructs}} {{Upgradable= 1d8 extra per spell level over 1st}} HEALING WORD- &{template:default} {{name=Healing Word}}{{Casting time= 1 Bonus Action}}{{Range= 60 ft.}}{{Duration= Instantaneous}}{{School= Evocation}} {{Components= V, S}} {{Heals= [[?{Spell Slot|1}d4+@{spellcasting_ability}]] HP}} {{Effect= Does not affect undead & constructs}} {{Upgradable= 1d4 extra per spell level over 1st}} PC SAVING THROWS- /w gm &{template:default}{{name=Saving Throws}} {{Str Save= [[1d20+@{npcd_str_mod}+@{strength_save_prof}]]| [[1d20+@{npcd_str_mod}+@{strength_save_prof}]]}} {{Dex Save= [[1d20+@{npcd_dex_mod}+@{dexterity_save_prof}]] | [[1d20+@{npcd_dex_mod}+@{dexterity_save_prof}]]}} {{Con Save= [[1d20+@{npcd_con_mod}+@{constitution_save_prof}]] | [[1d20+@{npcd_con_mod}+@{constitution_save_prof}]]}} {{Int Save= [[1d20+@{npcd_int_mod}+@{intelligence_save_prof}]] | [[1d20+@{npcd_int_mod}+@{intelligence_save_prof}]]}} {{Wis Save= [[1d20+@{npcd_wis_mod}+@{wisdom_save_prof}]] | [[1d20+@{npcd_wis_mod}+@{wisdom_save_prof}]]}} {{Cha Save= [[1d20+@{npcd_cha_mod}+@{charisma_save_prof}]] | [[1d20+@{npcd_cha_mod}+@{charisma_save_prof}]]}} SPARE THE DYING- /em Touches @{target|character_name} and speaks softly of the magnificence of Tyr. @{target|character_name} becomes stable.
1472667456
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi Gus, Welcome to the wonderful world of Macro making. If you are using the 5e OGL sheet, you might find this thread useful:&nbsp; <a href="https://app.roll20.net/forum/post/3831566/5e-ogl-r" rel="nofollow">https://app.roll20.net/forum/post/3831566/5e-ogl-r</a>... As for specific macros; I've made a drop down for skills, saving throws, and ability checks for a game of 5e that I'm in. (we are using a custom sanity system, so you can probably just delete that part) You can find that macro on my google drive here:&nbsp; <a href="https://docs.google.com/document/d/1u5KznMOYrBk7kQ" rel="nofollow">https://docs.google.com/document/d/1u5KznMOYrBk7kQ</a>... I'm playing a monk in this game, and I didn't want to have to make a new attack (or a custom ability) for each of the special attacks I wind up, so I came up with a way to customize the attacks by taking advantage of the fact that template fields only display the final instance of that field. For my gun monk (yes it's a weird wonderful thing!) I check mark the saving throw section of my flintlock musket attack and then add this: ?{Firearm Special Attack|None, &amp;#125;&amp;#125; {{save=|Flurry - Head, **Success:**makes attacks normally **Failure:** makes attacks with disadvantage till end of their next turn&amp;#125;&amp;#125; {{saveattr=Constitution|Flurry – Arms, **Success:** retains hold of item **Failure:** drops one held item of my choice|Flurry – Torso, **Success:** Is unmoved **Failure:** pushed back up to 10-ft| Flurry – Legs, **Success:** Remains upright **Failure:** knocked prone} To the saving throw description field so that I can customize what shows up in the saving throw section of the template, or even if it is shown. Hope that helps, and I look forward to seeing what you do macro wise in the future, Scott
Scott! Thank you. &nbsp;So much to know an learn ... It is overwhelming! &nbsp;Thank you for responding I will go check out Those Links POST HASTE! &nbsp;What is the Sanity System? &nbsp;I am using 5eOGL sheet ... &nbsp;All the &#125 stuff... What is that? &nbsp;So much more complex than anything I have seen.&nbsp;
1472668710

Edited 1472669051
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
those are html replacements of bars "|" (&amp;#124;), commas (&amp;#44;), and end braces "}" (&amp;#125;) which are needed when nesting roll queries or other things containing those characters within roll queries. Makes them a pain in the *** to deal with, but sometimes the cool things you can do with them outweigh the cons. I've got a google sheet that auto replaces them for me which makes it a lot easier, and I keep meaning to post up a link to a copy of it, but I'm still tweaking it. As for the sanity system, not really sure yet, we just had session zero on Monday and it only came up once. From how I understand it so far, it's a way to represent the mental toll fighting unthinkable things takes (winds up being essentially another health bar, but one that increases with each "hit" rather than decreasing. Our GM tweaked the sanity rules from the 5e DMG, so it doesn't work quite the same.
Thats cool the macro is AWESOME &nbsp; I love it... gonna totally use it all the time.... &nbsp;I am afraid to delete anything for fear that it wouldn't work for me so i guess Ill just leave the sanity stuff in there.!
These are super helpful, thanks!
1472740147
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
my drop down macro had some errors in it. Those have now been fixed. The link above has been updated.
Hey Scott... Thanks for the update. &nbsp;We don't use the sanity feature so i picked out that code to remove (i figured it out i think) But i didn't have any trouble with the original .. it works great and I am using it now as one of the only token buttons for ALL my pcs and monsters. &nbsp;Thanks again... You are a MACRO MONSTER!
I am looking to build a macro that maybe you can help me with. &nbsp;I want a whisper macro that is a dropdown menu that players can use to click whisper, select the person they want to whisper to, then type a message. &nbsp;Can you help me with that?
actually... i found one that will work that is simple... check it out /w ?{name} ?{message}
1472742572
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep, that's what I was gonna suggest.
1472742638
The Aaron
Pro
API Scripter
Gus said: actually... i found one that will work that is simple... check it out /w ?{name} ?{message} Might want to do: /w "?{name}" ?{message} Just in case their name is something like "The Aaron" and there's someone else named "The GM"... not that that happens all that much....
Thanks man. &nbsp;BTW Love you Group Init api... works awesome
1472742992
The Aaron
Pro
API Scripter
=D &nbsp;No worries. &nbsp;And thank you!