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 "Pathfinder Macros"

From Roll20 Wiki

Jump to: navigation, search
(Attack how?)
(Attack how?: - Added back the "Attack How?" Macro from Leo Takar's Jan-6-2019 edit - (I was trying to copy/paste that specific block for personal use and accidentally deleted it. I'm sorry, no intent to vandalize whatsoever))
Line 60: Line 60:
 
It can be used as is, but is set up for 4 kinds of attacks. If you have less than that you might want to delete the extras, if you have less just add  <code>[@{Selected|repeating_weapon_$'''X'''_name}](!&#13;&#37;{Selected|repeating_weapon_$'''X'''_attack-roll&#125;)}}</code> (with the right number X) before the curly brackets
 
It can be used as is, but is set up for 4 kinds of attacks. If you have less than that you might want to delete the extras, if you have less just add  <code>[@{Selected|repeating_weapon_$'''X'''_name}](!&#13;&#37;{Selected|repeating_weapon_$'''X'''_attack-roll&#125;)}}</code> (with the right number X) before the curly brackets
  
<pre>/w @{Selected|character_name} &{template:pf_attack} {{character_name=@{Selected|character_name}}} {{character_id=@{character_id}}} {{name=attack how?}} {{description=[@{Selected|repeating_weapon_$1_name}](!
+
<pre>/w @{Selected|character_name} &{template:pf_attack} {{character_name=@{Selected|character_name}}} {{character_id=@{character_id}}} {{name=attack how?}} {{description=[@{Selected|repeating_weapon_$1_name}](!&#13;&#37;{Selected|repeating_weapon_$1_attack-roll&#125;) [@{Selected|repeating_weapon_$0_name}](!&#13;&#37;{Selected|repeating_weapon_$0_attack-roll&#125;) [@{Selected|repeating_weapon_$2_name}](!&#13;&#37;{Selected|repeating_weapon_$2_attack-roll&#125;) [@{Selected|repeating_weapon_$3_name}](!&#13;&#37;{Selected|repeating_weapon_$3_attack-roll&#125;)}}</pre>
%{Selected|repeating_weapon_$1_attack-roll}) [@{Selected|repeating_weapon_$0_name}](!
+
%{Selected|repeating_weapon_$0_attack-roll}) [@{Selected|repeating_weapon_$2_name}](!
+
%{Selected|repeating_weapon_$2_attack-roll}) [@{Selected|repeating_weapon_$3_name}](!
+
%{Selected|repeating_weapon_$3_attack-roll})}}</pre>
+
  
 
==== '''Defensive info + Saving Throws''' ====
 
==== '''Defensive info + Saving Throws''' ====

Revision as of 02:22, 20 July 2019

Contents

INTENT

This is intended to be a place to collect a rather comprehensive list of macros generically useful to players and GMs of the Pathfinder RPG (with appropriate character sheet) in such a way that each macro has it's own heading and thus can be hyperlinked from elsewhere (i.e. you can add a new macro and advertize it in the forum by posting the link). These Macros are either meant to be used as-is, or explain how to make them functional above (i.e. if you need to change anything before use).

For advice on crafting your own comprehensive macros and for examples see here.

This is a collaborative work with several contributors. Styles and methods will varry

Useful for both players and GMs

(In future versions of this page, there will be separate sections for things more useful to players and things only useful to GMs).

All Skills Macro


The macro could be called Skills, and pasted as is addition to the "Abilities" section of the character sheet. I recommend showing as token action, so the right token is already selected when you run it, like this: [1]

&{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Skill Check}} {{?{Choose a Skill(* training not required)| 
*Acrobatics (+@{selected|Acrobatics}), [Acrobatics](http://www.d20pfsrd.com/skills/acrobatics) =[[ 1d20+ [[ @{selected|Acrobatics} ]] ]] | 
*Appraise (+@{selected|Appraise}),[Appraise](http://www.d20pfsrd.com/skills/appraise)=[[ 1d20+ [[ @{selected|Appraise} ]] ]] | 
*Artistry (+@{selected|Artistry}), [Artistry](http://www.d20pfsrd.com/skills/background-skills#TOC-Artistry-Int-) @{selected|Artistry-name}=[[ 1d20+ [[ @{selected|Artistry} ]] ]] | 
*Bluff (+@{selected|Bluff}), [Bluff](http://www.d20pfsrd.com/skills/bluff)=[[ 1d20+ [[ @{selected|Bluff} ]] ]] | 
*Climb (+@{selected|Climb}), [Climb](http://www.d20pfsrd.com/skills/climb)=[[ 1d20+ [[ @{selected|Climb} ]] ]] | 
*Craft  @{selected|Craft-name} (+@{selected|Craft}), [Craft](http://www.d20pfsrd.com/skills/craft) @{selected|Craft-name}=[[ 1d20+ [[ @{selected|Craft} ]] ]] | 
*Diplomacy (+@{selected|Diplomacy}), [Diplomacy](http://www.d20pfsrd.com/skills/diplomacy)=[[ 1d20+ [[ @{selected|Diplomacy} ]] ]] | 
Disable Device (+@{selected|Disable-Device}), [Disable Device](http://www.d20pfsrd.com/skills/disable-device)=[[ 1d20+ [[ @{selected|Disable-Device} ]] ]] | 
*Disguise (+@{selected|Disguise}), [Disguise](http://www.d20pfsrd.com/skills/disguise)=[[ 1d20+ [[ @{selected|Disguise} ]] ]] | 
*Escape Artist (+@{selected|Escape-Artist}), [Escape Artist](http://www.d20pfsrd.com/skills/escape-artist)=[[ 1d20+ [[ @{selected|Escape-Artist} ]] ]] | 
*Fly (+@{selected|Fly}), [Fly](http://www.d20pfsrd.com/skills/fly)=[[ 1d20+ [[ @{selected|Fly} ]] ]] |  
Handle Animal (+@{selected|Handle-Animal}), [Handle Animal](http://www.d20pfsrd.com/skills/handle-animal)=[[ 1d20+ [[ @{selected|Handle-Animal} ]] ]] | 
*Heal (+@{selected|Heal}), [Heal](http://www.d20pfsrd.com/skills/heal)=[[ 1d20+ [[ @{selected|Heal} ]] ]] | 
*Intimidate (+@{selected|Intimidate}), [Intimidate](http://www.d20pfsrd.com/skills/intimidate)=[[ 1d20+ [[ @{selected|Intimidate} ]] ]] |  
Knowledge Arcana (+@{selected|Knowledge-Arcana}), Knowledge Arcana[Acrobatics](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Arcana} ]] ]] |  
Knowledge Dungeoneering (+@{selected|Knowledge-Dungeoneering}), Knowledge Dungeoneering[Dungeoneering](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Dungeoneering} ]] ]] |  
Knowledge Engineering (+@{selected|Knowledge-Engineering}), Knowledge Engineering[Engineering](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Engineering} ]] ]] |  
Knowledge Geography (+@{selected|Knowledge-Geography}), Knowledge Geography[Geography](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Geography} ]] ]] |  
Knowledge History (+@{selected|Knowledge-History}), Knowledge History[History](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-History} ]] ]] | 
Knowledge Local (+@{selected|Knowledge-Local}), Knowledge Local[Local](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Local} ]] ]] |  
Knowledge Nature (+@{selected|Knowledge-Nature}), Knowledge Nature[Nature](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Nature} ]] ]] |  
Knowledge Nobility (+@{selected|Knowledge-Nobility}), Knowledge Nobility[Nobility](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Nobility} ]] ]] |  
Knowledge Planes (+@{selected|Knowledge-Planes}), Knowledge Planes[Planes](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Planes} ]] ]] |  
Knowledge Religion (+@{selected|Knowledge-Religion}), Knowledge Religion[Religion](http://www.d20pfsrd.com/skills/knowledge)=[[ 1d20+ [[ @{selected|Knowledge-Religion} ]] ]] |  
Linguistics (+@{selected|Linguistics}),[Linguistics](http://www.d20pfsrd.com/skills/linguistics)=[[ 1d20+ [[ @{selected|Linguistics} ]] ]] |  
Lore @{selected|Lore-name} (+@{selected|Lore}), [Lore](http://www.d20pfsrd.com/skills/lore)(@{selected|Lore-name})=[[ 1d20+ [[ @{selected|Lore} ]] ]] | 
*Perception (+@{selected|Perception}),[Perception](http://www.d20pfsrd.com/skills/perception)=[[ 1d20+ [[ @{selected|Perception} ]] ]] | 
*Perform @{selected|Perform-name} (+@{selected|Perform}), [Perform](http://www.d20pfsrd.com/skills/perform) (@{selected|Perform-name})=[[ 1d20+ [[ @{selected|Perform} ]] ]] |  
Profession @{selected|Profession-name} (+@{selected|Profession}), [Profession](http://www.d20pfsrd.com/skills/profession) (@{selected|Profession-name})=[[ 1d20+ [[ @{selected|Profession} ]] ]] | 
*Ride (+@{selected|Ride}),[Ride](http://www.d20pfsrd.com/skills/ride)=[[ 1d20+ [[ @{selected|Ride} ]] ]] | 
*Sense Motive (+@{selected|Sense-Motive}),[Sense Motive](http://www.d20pfsrd.com/skills/sense-motive)=[[ 1d20+ [[ @{selected|Sense-Motive} ]] ]] |  
Sleight of Hand (+@{selected|Sleight-of-Hand}), [Sleight of Hand](http://www.d20pfsrd.com/skills/sleight-of-hand)=[[ 1d20+ [[ @{selected|Sleight-of-Hand} ]] ]] |  
Spellcraft (+@{selected|Spellcraft}), [Spellcraft](http://www.d20pfsrd.com/skills/spellcraft)=[[ 1d20+ [[ @{selected|Spellcraft} ]] ]] | 
*Stealth (+@{selected|Stealth}),[Stealth](http://www.d20pfsrd.com/skills/stealth)=[[ 1d20+ [[ @{selected|Stealth} ]] ]] | 
*Survival (+@{selected|Survival}), [Survival](http://www.d20pfsrd.com/skills/survival)=[[ 1d20+ [[ @{selected|Survival} ]] ]] | 
*Swim (+@{selected|Swim}),[Swim](http://www.d20pfsrd.com/skills/swim)=[[ 1d20+ [[ @{selected|Swim} ]] ]] |  
Use Magic Device (+@{selected|Use-Magic-Device}), [Use Magic Device](http://www.d20pfsrd.com/skills/use-magic-device)=[[ 1d20+ [[ @{selected|Use-Magic-Device} ]] ]]
}}}

--Julian S. (talk) 20:49, 18 January 2016 (EST)

Attack how?

This macro shows (only you) your attack options as API buttons that you can then click on to attack.

It can be used as is, but is set up for 4 kinds of attacks. If you have less than that you might want to delete the extras, if you have less just add [@{Selected|repeating_weapon_$X_name}](! %{Selected|repeating_weapon_$X_attack-roll})}} (with the right number X) before the curly brackets

/w @{Selected|character_name} &{template:pf_attack} {{character_name=@{Selected|character_name}}} {{character_id=@{character_id}}} {{name=attack how?}} {{description=[@{Selected|repeating_weapon_$1_name}](!
%{Selected|repeating_weapon_$1_attack-roll}) [@{Selected|repeating_weapon_$0_name}](!
%{Selected|repeating_weapon_$0_attack-roll}) [@{Selected|repeating_weapon_$2_name}](!
%{Selected|repeating_weapon_$2_attack-roll}) [@{Selected|repeating_weapon_$3_name}](!
%{Selected|repeating_weapon_$3_attack-roll})}}

Defensive info + Saving Throws

This sends a tightly formatted message to chat that includes you various ACs (touch, flat, etc.) as well as rolling all 3 saving throws (i.e. ignore the ones that weren't called for, and have less macro buttons to worry about).

&{template:pf_attack} {{name=Defensive info + Saving Throws}} {{character_name=@{selected|character_name}}} {{character_id=@{selected|character_id}}} {{[[@{selected|AC}]] AC=***Saving throws***}} {{[[@{selected|Touch}]] Touch= Fortitude [[1d20+@{selected|Fort}]] }}{{[[@{selected|Flat-Footed}]] Flat = Reflexes [[1d20+@{selected|Ref}]]}} {{[[@{selected|CMD}]] CMD = Willpower [[1d20+@{selected|Will}]]}}{{}}

GMs

Group Rolls Static

This one (currently group perception for a specific party of four) can be edited to be group stealth or group will saves or anything you replace "perception" with. You also will have to replace the character's names with the characters in your game.

/w GM &{template:pf_generic}{{name=Group Perception}}{{Nigel=[[1d20+@{Nigel|Perception}]] }}Shargok=[[1d20+@{Shargok|Perception}]] }}{{Lembo=[[1d20+@{Lembo|Perception}]] }} {{Peritte=[[1d20+@{Peritte|Perception}]] }}

Group Rolls Dynamic

This one can be used as is, because it uses the targete attribute. However you'll have to click on the characters you want to know about every time - but then you get to choose what you want all those characters to roll. Will save? Perception? Choice is yours.

It's currently set up for 5 characters, if you have less, just click on one of the characters repeatedly - it still will be shown in Chat correctly (i.e. each character once). If you have more you need to add one row of {{@{target|charX|character_name}=[[1d20+@{target|charX|ABC}]] }}| in each section with ABC being the appropriate attribute.

Also note that because it contains HTML entities (like } ) which are necessary for this to work, it has to be used in the ability section of the character sheet.

<code>/w GM &{template:pf_generic} ?{Skill?|Perception, {{name=Group Perception}} {{@{target|char1|character_name}=[[1d20+@{target|char1|perception}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|perception}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|perception}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|perception}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|perception}]] }}|
|
~~Saves~~|
Fortitude, {{name=Group Fortitude}} {{@{target|char1|character_name}=[[1d20+@{target|char1|Fort}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|Fort}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|Fort}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|Fort}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|Fort}]] }}|
|
Reflex, {{name=Group Reflex}} {{@{target|char1|character_name}=[[1d20+@{target|char1|Ref}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|Ref}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|Ref}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|Ref}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|Ref}]] }}|
|
Will, {{name=Group Will}} {{@{target|char1|character_name}=[[1d20+@{target|char1|Will}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|Will}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|Will}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|Will}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|Will}]] }}|
|
~~Skills~|
Stealth, {{name=Group Stealth}} {{@{target|char1|character_name}=[[1d20+@{target|char1|Stealth}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|Stealth}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|Stealth}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|Stealth}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|Stealth}]] }}|
|
Sense Motive, {{name=Group Sense-Motive}} {{@{target|char1|character_name}=[[1d20+@{target|char1|Sense-Motive}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|Sense-Motive}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|Sense-Motive}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|Sense-Motive}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|Sense-Motive}]] }}|
|
Survival, {{name=Group Survival}} {{@{target|char1|character_name}=[[1d20+@{target|char1|Survival}]] }}{{@{target|char2|character_name}=[[1d20+@{target|char2|Survival}]] }}{{@{target|char3|character_name}=[[1d20+@{target|char3|Survival}]] }}|
{{@{target|char4|character_name}=[[1d20+@{target|char4|Survival}]] }}|
{{@{target|char5|character_name}=[[1d20+@{target|char5|Survival}]] }}|
}</code>

Julian S. (talk) 03:31, 19 January 2016 (EST)