Skip to content

Instantly share code, notes, and snippets.

@jfsantos
Created January 23, 2017 13:07
Show Gist options
  • Save jfsantos/c0f3f4cd5c76dfc5f1ba8310a821c2d5 to your computer and use it in GitHub Desktop.
Save jfsantos/c0f3f4cd5c76dfc5f1ba8310a821c2d5 to your computer and use it in GitHub Desktop.
SotDL macros - Roll20
Agility
&{template:default} {{name=@{selected|character_name}}}{{Agility roll=[[1d20 + @{selected|agility_mod} + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}}
Intellect
&{template:default} {{name=@{selected|character_name}}}{{Intellect roll=[[1d20 + @{selected|intellect_mod} + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}}
Perception
&{template:default} {{name=@{selected|character_name}}}{{Perception roll=[[1d20 + @{selected|perception_mod} + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}}
Strength
&{template:default} {{name=@{selected|character_name}}}{{Strength roll=[[1d20 + @{selected|strength_mod} + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}}
Will
&{template:default} {{name=@{selected|character_name}}}{{Will roll=[[1d20 + @{selected|will_mod} + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}}
Weapon1
&{template:default} {{name=@{selected|character_name}}} {{@{selected|repeating_weapons_$0_weapon_name}}} {{Attack roll=[[1d20 + [[@{selected|repeating_weapons_$0_attrtype} - 10]] + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}} {{Damage=[[@{selected|repeating_weapons_$0_dnumber}@{selected|repeating_weapons_$0_dtype} +@{selected|repeating_weapons_$0_weapon_bonus}]]}}
Weapon2
&{template:default} {{name=@{selected|character_name}}}{{@{selected|repeating_weapons_$1_weapon_name}}} {{Attack roll=[[1d20 + [[@{selected|repeating_weapons_$1_attrtype} - 10]] + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}} {{Damage=[[@{selected|repeating_weapons_$1_dnumber}@{selected|repeating_weapons_$1_dtype} +@{selected|repeating_weapons_$1_weapon_bonus}]]}}
Weapon3
&{template:default} {{name=@{selected|character_name}}}{{@{selected|repeating_weapons_$2_weapon_name}}} {{Attack roll=[[1d20 + [[@{selected|repeating_weapons_$2_attrtype} - 10]] + [[?{# Boons|0} - ?{# Banes|0}]]d6k1]]}} {{Damage=[[@{selected|repeating_weapons_$2_dnumber}@{selected|repeating_weapons_$2_dtype} +@{selected|repeating_weapons_$2_weapon_bonus}]]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment