Difference between revisions of "Script:Ars Magica 5e Stress Die"
From Roll20 Wiki
(Blanked the page) |
Andreas J. (Talk | contribs) (update page with info from dropdown, add category) |
||
Line 1: | Line 1: | ||
+ | <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;display:block;font-size:1.4em">API Script</span> | ||
+ | <span style="font-variant:small-caps">'''Author:''' {{user profile|390978|Chris L.}} </span><br> | ||
+ | {{script version|1.0}}<br> | ||
+ | {{script lastmodified date| 2016-5-26}}<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">'''Conflicts:''' Unknown </span> | ||
+ | </div> | ||
+ | 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 . | ||
+ | |||
+ | 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 <code>!st ?{Modifier|0}, ?{Botch Dice|1}</code> | ||
+ | <br> | ||
+ | [[Category:User API Scripts]] |
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}