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

Andrew R.

From Roll20 Wiki

(Redirected from Macros)
Jump to: navigation, search

== SOME MACROs ==

If the macro contains @{selected| or @{target| then you will need to select the token on the map below running that macro.

Rolls Initiative but may not take into account any bonuses:
/em "Initiative": [[1d20 + @{selected|dexterity_mod}&{tracker}]]

Rolls ranged attack with ranged weapon in position 1 of the ranged weapon's list:
/me attacks @{target|character_name} with a @{selected|rangedweaponname1} and gets [[1d20+@{selected|rangedtohit1}]] to hit, for [[@{selected|rangeddmg1}+@{selected|rangeddmgbonus1}]] normal damage or [[@{selected|rangedcritdmg1}]] critical damage.

Rolls melee attack with melee weapon in position 1 of the melee weapon's list:
/me attacks @{target|character_name} with a @{selected|meleeweaponname1} and gets [[1d20+@{selected|meleetohit1}]] to hit, for [[@{selected|meleedmg1}+@{selected|meleedmgbonus1}]] normal damage or [[@{selected|meleecritdmg1}]] critical damage.

Strength check rolls twice - one for standard, other for adv/disadvantage:
/em "Strength Check": [Std | Advantage/Disadvantage] [[1d20 + @{selected|Strength_Mod} ]] | [[1d20 + @{selected|Strength_Mod} ]]

Dexterity check rolls twice - one for standard, other for adv/disadvantage:
/em "Dexterity Check": [Std | Advantage/Disadvantage] [[1d20 + @{selected|Dexterity_Mod} ]] | [[1d20 + @{selected|Dexterity_Mod} ]]

Constitution check rolls twice - one for standard, other for adv/disadvantage:
/em "Constitution Check": [Std | Advantage/Disadvantage] [[1d20 + @{selected|Constitution_Mod} ]] | [[1d20 + @{selected|Constitution_Mod} ]]

Intelligence check rolls twice - one for standard, other for adv/disadvantage:
/em "Intelligence Check": [Std | Advantage/Disadvantage] [[1d20 + @{selected|Intelligence_Mod} ]] | [[1d20 + @{selected|Intelligence_Mod} ]]

Wisdom check rolls twice - one for standard, other for adv/disadvantage:
/em "Wisdom Check": [Std | Advantage/Disadvantage] [[1d20 + @{selected|Wisdom_Mod} ]] | [[1d20 + @{selected|Wisdom_Mod} ]]

Charisma check rolls twice - one for standard, other for adv/disadvantage:
/em "Charisma Check": [Std | Advantage/Disadvantage] [[1d20 + @{selected|Charisma_Mod} ]] | [[1d20 + @{selected|Charisma_Mod} ]]

For more information on how to reference the required fields on the character sheet got to DnD5e Character Sheet - Advanced Usage