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 "Macros/Call of Cthulhu Examples"

From Roll20 Wiki

Jump to: navigation, search
m (Macros for Abilities section)
m (Macros for Abilities)
Line 60: Line 60:
  
 
'''Shotgun macro'''
 
'''Shotgun macro'''
With 3 distances, depending the shotgun, you need to change the damage accordingly
+
<br>With 3 distances, depending the shotgun, you need to change the damage accordingly
 
<pre>
 
<pre>
 
&{template:default} {{name=Shotgun}} {{hit=[[1d100<@{Shotgun}]]}} {{damage=[[?{distance|10m, 2d6+2|20m, 1d6+1| 50m, 1d4}]]}}
 
&{template:default} {{name=Shotgun}} {{hit=[[1d100<@{Shotgun}]]}} {{damage=[[?{distance|10m, 2d6+2|20m, 1d6+1| 50m, 1d4}]]}}
 
</pre>
 
</pre>

Revision as of 07:30, 26 July 2017

About the macros

First, there are two places where you can put your macros, in Collection > Macros and in Journal > Character sheet > Attributes & Abilities > Abilities.
The difference between these two is that the first one is for your macros as a player and the second one is intended to keep your specific character's macros. You can save your macros in both, but the first one will need your character's name @{name|skill}, while with the second one you will only need @{skill}.

Gm and char creation macros

Character creation macro

&{template:default} {{name=Pj}} {{STR=[[3d6]]}} {{CON=[[3d6]]}} {{POW=[[3d6]]}} {{DEX=[[3d6]]}} {{APP=[[3d6]]}} {{SIZ=[[2d6+6]]}} {{INT=[[2d6+6]]}} {{EDU=[[3d6+3]]}}

Skill points calculator

&{template:default} {{name=Skill Points}} {{Occupational=[[20*@{edu}]]}} {{Hobby=[[10*@{int}]]}}

Add turn to the tracker

/w gm @{selected|token_name} [[@{selected|bar2} &{tracker}]]

Macro for npc skills

/as ?{Who says?} ?{What says?}
/emas ?{¿Who does?} ?{¿What does?}

With this one, /w gm before for secret rolls

&{template:default} {{name=@{selected|token_name} rolls for ?{skill|skill}}} {{Roll=[[1d100<?{req|0}]]}}


Macros for Abilities

Copy those macros in the Abilities section of the character sheet

Macro for skills
Change does something for jumps or whatever...

/em does something [[1d100<@{skill}]]

Punch with damage
Also for headbutt, grab and kick

&{template:default} {{name=Punch}} {{skill=[[1d100<@{Fist-Punch}]]}} {{damage=[[@{Fist-Punch-Damage}+@{Damage-Bonus}]]}}

First aid

&{template:default} {{name=First Aid}} {{Tirada=[[1d100<@{First-Aid}]]}} {{Heals=[[1d3]]}}

First weapon of the weapon list
Change $0 with another numbers for other weapons

&{template:default} {{name=@{repeating_Firearms_$0_Firearm}}} {{hit=[[1d100<@{repeating_Firearms_$0_Score}]]}} {{damage=[[@{repeating_Firearms_$0_Damage}]]}}

Shotgun macro
With 3 distances, depending the shotgun, you need to change the damage accordingly

&{template:default} {{name=Shotgun}} {{hit=[[1d100<@{Shotgun}]]}} {{damage=[[?{distance|10m, 2d6+2|20m, 1d6+1| 50m, 1d4}]]}}