Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "5E Macros"

From Roll20 Wiki

Jump to: navigation, search
m
m (Examples)
Line 29: Line 29:
 
%{selected|initiative}
 
%{selected|initiative}
 
</pre>
 
</pre>
 +
 +
[[File:5e-rolltemplate-ex1-2021.png|200px|right|none]]
 +
Rolls stealth for selected npc token, using it's stealth proficiency.
 +
<code><nowiki>/w gm &{template:npcatk} {{attack=1}} {{name=Shadow}} {{rname=Shadow Stealth}} {{rnamec=Hide}} {{r1=[[@{selected|d20}+@{selected|npc_stealth} + 6]]}} {{always=1}} {{r2=[[@{selected|d20}+@{selected|npc_stealth} + 6]]}} {{description=While in dim light or darkness, the shadow can take the Hide action as a bonus action. Its stealth bonus is **also** improved to +6 }}</nowiki></code>
  
 
==Chat Menus==
 
==Chat Menus==

Revision as of 20:07, 19 May 2021

main page D&D 5E

This is a collections of macros for D&D 5E, most of which are meant to be used with the D&D5E by Roll20 character sheet.

See Macro Guide for documentation regarding how to build macros.

Contents

Without Sheet

Magic Missiles

/em hits their targets with [[?{Level cast at|1|2|3|4|5|6|7|8|9}+2]] magic missiles. Each missile does [[1d4+1]] force damage.

As above, but also displaying the damage individual dice did.

/em hits their targets with [[?{Level cast at|1|2|3|4|5|6|7|8|9}+2]] magic missiles. Total damage is: [[[[1d4+1]]*?{Level cast at}]] Each missile does $[[0]] force damage.

D&D5E by Roll20

Macros that work with the main D&D5E by Roll20 char sheet.

Examples

Initiative: (select token first)

%{selected|initiative}
5e-rolltemplate-ex1-2021.png

Rolls stealth for selected npc token, using it's stealth proficiency. /w gm &{template:npcatk} {{attack=1}} {{name=Shadow}} {{rname=Shadow Stealth}} {{rnamec=Hide}} {{r1=[[@{selected|d20}+@{selected|npc_stealth} + 6]]}} {{always=1}} {{r2=[[@{selected|d20}+@{selected|npc_stealth} + 6]]}} {{description=While in dim light or darkness, the shadow can take the Hide action as a bonus action. Its stealth bonus is **also** improved to +6 }}

Chat Menus

Chat Menus is a nice way to access sheet buttons without having to open it.

Chat_Menus#5E have a couple of examples, like a NPC Statblock, or a Chat_Menus#Spellblock.

5E Shaped

Macros for the 5E Shaped sheet.


API

On the Script Index, there are many API made for 5E listed, and a number of them can be used to extend the normal macro language.

ChatSetAttr, TokenMod, PowerCards, GroupInitiative, GroupCheck are some popular API that can quite easily be used with 5E.

Related Pages