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 "Script:Ars Magica 5e Stress Die"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "<div style="float: {{{1|right}}}; width: 200px; padding: 5px; border: 1px solid #777; margin: 0 15px 15px 15px; background-color: #efefef;"> <span style="text-align:center;dis...")
 
(update page with info from dropdown, add category)
 
(One intermediate revision by one user not shown)
Line 4: Line 4:
 
{{script version|1.0}}<br>
 
{{script version|1.0}}<br>
 
{{script lastmodified date| 2016-5-26}}<br>
 
{{script lastmodified date| 2016-5-26}}<br>
<span style="font-variant:small-caps">'''Code:''' Link Pending </span><br>
+
<span style="font-variant:small-caps">'''Code:''' [https://github.com/Roll20/roll20-api-scripts/tree/master/ArsMagica5eStressDie link] </span><br>
 
<span style="font-variant:small-caps">'''Dependencies:''' None </span><br>
 
<span style="font-variant:small-caps">'''Dependencies:''' None </span><br>
 
<span style="font-variant:small-caps">'''Conflicts:''' Unknown </span>
 
<span style="font-variant:small-caps">'''Conflicts:''' Unknown </span>
 
</div>
 
</div>
  
Skillbook will whisper the player a template with buttons for each of a character's skills, so players can quickly roll skill checks without having to open their character sheets.  These buttons use the macros listed on the character sheet, so any changes to the macros or the skill modifiers on the sheet will work with these buttons.
+
This allows players to enter <code>!st</code> or <code>!st , </code> (_nomod version: !st or !st ) to roll a stress die with modifier and optional botch dice count .
  
Note that Craft, Lore, Perform, and Profession skills, as well as the "misc" skills at the bottom of the sheet, will only be added to "skillbook" if the names are filled in; changes to the names won't require rerunning the script, but filling in new names will.
+
Botch dice count defaults to 1 when used with one argument. The _nomod version is designed for users who want to add their modifier separately. Multiple botches are possible, and will be reported in the case of a botch.
  
Alternatively, you can have Skillbook generate a token action to whisper the skillbook to any player who can control the character.  This script is hard-coded to put this token action into a character ability named "Skills"; if a character already has an ability with that name, it will overwrite that ability. If you wish to keep that character ability, be sure to rename it first.
+
Note that a result of 1 in the code corresponds to a result of zero in the text, and a 10 in the code is a 1 described in the corebook's text. This does not bias results, as both are special cases.
  
=== Use ===
+
Only results of 2-9 actually keep their numeric value. A macro for a stress die--modified or otherwise--can be easily made with syntax similar to <code>!st ?{Modifier|0}, ?{Botch Dice|1}</code>
To receive a whisper with the skillbook in it:
+
<br>
# Select a token that represents the character
+
[[Category:User API Scripts]]
# Type "!skillbook" into the chat window
+
 
+
To create a token action for the skillbook:
+
# Select a token that represents the character or characters to generate token actions for
+
# Type "!skillbook --createability" into the chat window
+
 
+
=== Changelog ===
+
{{changelog version|1.5|2016-03-20|* Switched to directly whispering the skillbooks instead of making token actions, to avoid chat spamming other players}}
+
{{changelog version|1.11|2016-03-14|* Fixed bug with empty skill names}}
+
{{changelog version|1.10|2016-03-13|* Updated to work with beta sheet that includes multiple Artistry and Lore skills}}
+
{{changelog version|1.00|2016-03-13|* Release}}
+

Latest revision as of 18:36, 2 May 2020

API Script Author: Chris L.
Version: 1.0
Last Modified: 2016-5-26
Code: link
Dependencies: None
Conflicts: Unknown

This allows players to enter !st or !st , (_nomod version: !st or !st ) to roll a stress die with modifier and optional botch dice count .

Botch dice count defaults to 1 when used with one argument. The _nomod version is designed for users who want to add their modifier separately. Multiple botches are possible, and will be reported in the case of a botch.

Note that a result of 1 in the code corresponds to a result of zero in the text, and a 10 in the code is a 1 described in the corebook's text. This does not bias results, as both are special cases.

Only results of 2-9 actually keep their numeric value. A macro for a stress die--modified or otherwise--can be easily made with syntax similar to !st ?{Modifier|0}, ?{Botch Dice|1}