User Tools

Site Tools


magnimar:roll20

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
magnimar:roll20 [2017/03/21 23:11] – [Spells] sammagnimar:roll20 [2019/04/28 13:58] (current) sam
Line 18: Line 18:
  
 Note that when I say 'Macro', this can either be a global macro, or an Ability on a character. Character abilities only apply to a specific character, and are only displayed at the top when a token for that character is selected. Macros are more generic, and can appear at the bottom all the time. Note that when I say 'Macro', this can either be a global macro, or an Ability on a character. Character abilities only apply to a specific character, and are only displayed at the top when a token for that character is selected. Macros are more generic, and can appear at the bottom all the time.
 +
 +==== Combat ====
 +
 +=== Start Combat ===
 +
 +Provides a quick and easy way to start a new combat, adding the selected tokens to a new initiative track. Any existing initiative track is cleared.
 +
 +<code>
 +?{Start New Combat|Normal,!pfstartcombat|Surprise 10,!pfstartcombat 10|Surprise 20,!pfstartcombat 20}
 +</code>
 +
 +=== Modify Combat ===
 +
 +This adds (or removes) tokens from an existing initiative track.
 +
 +<code>
 +?{Add to Combat|Normal,!pfaddtocombat|Have Surprise,!pfaddtocombat -100|Surprised,!pfaddtocombat 100|Surprise by Stealth,!pfaddtocombat ?{Perception DC&#125;|Surprise by Bluff,!pfaddtocombat ?{Sense Motive DC&#125; Sense-Motive|Make Surprised,!pfsetstatus Surprised|Give Surprise,!pfsetstatus Surprise|Leave Combat,!pfleavecombat}
 +</code>
 +
 +Note the &#125; in the macro. This is important (it represents an embedded '}'). Unfortunately, every time the macro is edited, this is expanded to be '}', which breaks the macro. It will need to be changed back before saving any changes.
 +
 +=== Actions ===
 +
 +This provides some actions for making tokens ready an action, or delaying or undelaying them.
 +
 +<code>
 +?{Delaying Action|Delay,!pfinitflag current D|Ready,!pfinitflag current R|Undelay Selected,!pfundelay}
 +</code>
 +
 +Delay / Ready - The current //active// token (in the turn order) will be marked as delayed or readied.
 +
 +Undelay - The current //selected// token will be undelayed or unreadied. If they are readied, then they will move to above the current acting token, if they are delayed, they will be moved to after the current active token.
 +
 +==== GM Tools ====
 +
 +<code>
 +?{GM Toolbox|Naming,!pfname|Hitpoints,!pfhitpoints|Hitpoints (low),!pfhitpoints low|Hitpoints (high),!pfhitpoints high|Hitpoints (max),!pfhitpoints max|Heal,!pfheal ?{Healing&#125;|Stabilise,!pfstabilise @{selected|token_id}|Treasure,!pftreasure|Missions,!pfmissions|All Missions,!pfmissions whisper }
 +</code>
  
 ==== !Initiative ==== ==== !Initiative ====
Line 117: Line 155:
 <code> <code>
 [[?{Roll|d20,d20|Take 10,10|Take 20,20}]] [[?{Roll|d20,d20|Take 10,10|Take 20,20}]]
 +</code>
 +
 +If you want a limited number of macros, then the following super-macro allows you to select which sets of skills to roll. The first item on the list are //Common// skills, which are the sort of skills which are rolled regularly. The rest are broken down by category.
 +
 +<code>
 +?{Select Skill Group|Common,!pfskills Common-Skills [[d20]] Acrobatics;Climb;Bluff;Diplomacy;Disable-Device;Perception;Sense-Motive;Stealth;Survival|Expert,!pfskills Expert-Skills [[d20]] Artistry*;Craft*;Profession*|Knowledge,!pfskills Knowledge-Skills [[d20]] %Intelligence;Knowledge-Arcana;Knowledge-Dungeoneering;Knowledge-Engineering;Knowledge-Geography;Knowledge-History;Knowledge-Local;Knowledge-Nature;Knowledge-Nobility;Knowledge-Planes;Knowledge-Religion;Linguistics;Spellcraft;Lore*|Movement,!pfskills Movement-Skills [[d20]] Acrobatics;Climb;Escape-Artist;Fly;Ride;Swim|Rogue,!pfskills Rogue-Skills [[d20]] Appraise;Disable-Device;Disguise;Perception;Sleight-of-Hand;Stealth;Survival;Use-Magic-Device|Social,!pfskills Social-Skills [[d20]] %Charisma;Bluff;Diplomacy;Handle-Animal;Intimidate;Sense-Motive;Perform*}
 </code> </code>
  
Line 124: Line 168:
  
 <code> <code>
-!describe @{target|token_id}+!pfdescribe @{target|token_id}
 </code> </code>
  
Line 132: Line 176:
  
 If the token has any particular status effects on them, then it will also output these after the description. This includes current hitpoint status, and effects such as stunned, fatigued or nauseated. If the token has any particular status effects on them, then it will also output these after the description. This includes current hitpoint status, and effects such as stunned, fatigued or nauseated.
 +
 +=== Tactics ===
 +
 +The following is a GM macro for outputting the tactics of a character. Useful when combat is about to begin and you want a reminder of how that particular creature fights.
 +
 +<code>
 +@{selected|NPC-whisper} &{template:pf_block} @{selected|toggle_accessible_flag} @{selected|toggle_rounded_flag}{{color=@{selected|rolltemplate_color}}} {{header_image=@{selected|header_image-pf_block}}} {{character_name=@{selected|token_name}}} {{character_id=@{selected|character_id}}} {{subtitle}} {{name=Tactics}} {{before=**Before Combat:** @{selected|npc-before-combat}}} {{during=**During Combat:** @{selected|npc-during-combat}}} {{after=**Morale:** @{selected|npc-morale}}}
 +</code>
 +
  
 === Status === === Status ===
Line 138: Line 191:
  
 <code> <code>
-!token-mod --set statusmarkers|!?{What status|Blind,bleeding-eye|Haste,fluffy-wing|Aura,aura|Confused,screaming|Entangled,fishing-net|Exhausted,sleepy|Fatigued,half-haze|Frightened,broken-heart|Grappled,padlock|Nauseated,radioactive|Panicked,half-heart|Paralyzed,cobweb|Prone,arrowed|Shaken,chained-heart|Sickened,drink-me|Slow,snail|Stablized,green|Staggered,pummeled|Stunned,interdiction}+!pfsetstatus ?{What status|Bleeding|Blind|Confused|Dazzled|Entangled|Exhausted|Fatigued|Frightened|Grappled|Helpless|Invisible|Pinned|Nauseated|Panicked|Paralyzed|Prone|Shaken|Sickened|Slowed|Stabilized|Staggered|Stunned|Unconscious|Dead} ?{Value} 
 + 
 +!pfunsetstatus ?{What status|Bleeding|Blind|Confused|Dazzled|Entangled|Exhausted|Fatigued|Frightened|Grappled|Helpless|Invisible|Pinned|Nauseated|Panicked|Paralyzed|Prone|Shaken|Sickened|Slowed|Stabilized|Staggered|Stunned|Unconscious|Dead}
 </code> </code>
  
-It is possible to use the usual status list directly from the token, but using this macro guarantees consistency between actual Pathfinder effects across all the macros and APIs, e.g. the Describe macro listed above. They don't automatically link to effects on the character sheet.+It is possible to use the usual status list directly from the token, but using this macro guarantees consistency between actual Pathfinder effects across all the macros and APIs, e.g. the Describe macro listed above. If possible, they will try to link to effects on the character sheet, as long as there is a link for the HP from the token to the character.
  
 ===== APIs ===== ===== APIs =====
Line 153: Line 208:
 === Initiative === === Initiative ===
  
-A single API command can roll initiative for all selected tokens, or for your character if no token is selected. This can be typed into the chat window, and it is exactly the same as the macro.+A single API command can roll initiative for all selected tokens, or for your character if no token is selected. This can be typed into the chat window, and it is exactly the same as the macro. The Dexterity of the character is added as a fractional modifier for tie breaking.
  
 <code> <code>
 !pfinit !pfinit
 +</code>
 +
 +If an optional argument is passed, then this is used as the roll. This is designed for use when using Roll20 as a tabletop aid, and players are rolling their own initiative for the GM to fill in within Roll20. The dexterity score is then added as a fractional modifier.
 +
 +<code>
 +!pfinit <roll>
 </code> </code>
  
magnimar/roll20.1490137895.txt.gz · Last modified: 2017/03/21 23:11 by sam