-
-
Save palikhov/7c09c46d5c7e495ef1eb1552df559d7a to your computer and use it in GitHub Desktop.
Roll20.net - useful Macros
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Based on "D&D 5E by Roll20" Character Sheet v4.21 (https://wiki.roll20.net/D%26D_5E_by_Roll20) *** | |
! Select token to use ! | |
! Don't forget to set 'In Bar' option in global macros list ! | |
Initiative | |
%{selected|npc_init} | |
Resistances/Immunities | |
/w gm &{template:default} {{name=DR/Immunities: @{selected|npc_name}}} {{Dmg Resistance= @{selected|npc_resistances}}} {{Dmg Vulnerability= @{selected|npc_vulnerabilities}}} {{Dmg Immunity= @{selected|npc_immunities}}} {{Condition Immunity= @{selected|npc_condition_immunities}}} | |
RandomHP | |
/w gm &{template:default} {{name=HitPoint-Roll: @{selected|npcd_name}}} {{normal=@{selected|npcd_hp}}} {{random= [[@{selected|npcd_hpformula}]]}} | |
Perception | |
%{Selected|npc_perception} | |
/w gm &{template:traits} {{name=Senses}} {{source=@{selected|npcd_name}}} {{description=@{selected|npc_senses}}} | |
Saves | |
/w gm &{template:default} {{name=Saving Throws: @{selected|npc_name}}} {{Str Save= [[1d20+@{selected|npcd_str_mod}]] | [[1d20+@{selected|npcd_str_mod}]]}} {{Dex Save= [[1d20+@{selected|npcd_dex_mod}]] | [[1d20+@{selected|npcd_dex_mod}]]}} {{Con Save= [[1d20+@{selected|npcd_con_mod}]] | [[1d20+@{selected|npcd_con_mod}]]}} {{Int Save= [[1d20+@{selected|npcd_int_mod}]] | [[1d20+@{selected|npcd_int_mod}]]}} {{Wis Save= [[1d20+@{selected|npcd_wis_mod}]] | [[1d20+@{selected|npcd_wis_mod}]]}} {{Cha Save= [[1d20+@{selected|npcd_cha_mod}]] | [[1d20+@{selected|npcd_cha_mod}]]}} | |
Stats | |
/w gm &{template:default} {{name=Stats: @{selected|npc_name}}} {{Armor Class= @{selected|npc_AC}}} {{Hit Dice= @{selected|npc_hpformula}}} {{Speed= @{selected|npc_speed}}} | |
Stats(advanced) | |
/w gm &{template:default} {{name=Stats: @{selected|npc_name}}} {{Armor Class= @{selected|npc_AC}}} {{Hit Dice= @{selected|npc_hpformula}}} {{Speed= @{selected|npc_speed}}} {{Strength= @{selected|npcd_str} | @{selected|npcd_str_mod}}} {{Dexterity= @{selected|npcd_dex} | @{selected|npcd_dex_mod}}} {{Constitution= @{selected|npcd_con} | @{selected|npcd_con_mod}}} {{Intelligence= @{selected|npcd_int} | @{selected|npcd_int_mod}}} {{Wisdom= @{selected|npcd_wis} | @{selected|npcd_wis_mod}}} {{Charisma= @{selected|npcd_cha} | @{selected|npcd_cha_mod}}} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Based on "D&D 5E by Roll20" Character Sheet v4.21 (https://wiki.roll20.net/D%26D_5E_by_Roll20) *** | |
! Select token to use ! | |
! Don't forget to set 'Show as Token Action' option in character sheet ! | |
! Replace $0 by position index in actions & traits section of character sheet ! | |
Action:Weapon | |
%{selected|repeating_npcaction_$0_npc_action} | |
Action:Multiattack | |
/w gm &{template:default} {{name=Multiattack}} | |
%{selected|repeating_npcaction_$0_npc_action} | |
%{selected|repeating_npcaction_$0_npc_action} | |
LegendaryAction:Weapon | |
%{selected|repeating_npcaction-l_$0_npc_action} | |
Trait:Example | |
/w gm &{template:traits} {{name=@{selected|repeating_npctrait_$0_name}}} {{source=@{selected|npcd_name}}} {{description=@{selected|repeating_npctrait_$0_description}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment