sr5

From RPTools Wiki
Revision as of 17:37, 13 July 2022 by Tdue21 (talk | contribs) (Created stub for Shadowrun 5th edition dice roll function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 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.

sr5() Function

Generates random numbers to emulate dice rolls; the dice are rolled mimicking the dice procedure of Shadowrun 5th Edition.

Usage

sr4(times)
sr4(times, gremlins)

Parameters

  • times - The number of times to roll the dice.
  • gremlins - This number is subtracted from times when times is used to determine how many Ones are required for a Glitch or Critical Glitch, defaults to 0.


See Also

For another method of rolling dice, see Dice Expressions.