sr5e: Difference between revisions
Jump to navigation
Jump to search
(Replaced source tages with syntaxhighlight) |
mNo edit summary |
||
Line 7: | Line 7: | ||
|usage= | |usage= | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
sr5e(times) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
sr5e(times, gremlins) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' |
Revision as of 17:58, 14 July 2022
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Better explanation, examples of usage.
sr5e() Function
Generates random numbers to emulate dice rolls; the dice are rolled mimicking the dice procedure of Shadowrun 5th Edition exploded rolls.
Usage
sr5e(times)
sr5e(times, gremlins)
Parameters
times
- The number of times to roll the dice.gremlins
- This number is subtracted fromtimes
whentimes
is used to determine how many Ones are required for a Glitch or Critical Glitch, defaults to0
.
See Also
For another method of rolling dice, see Dice Expressions.