sr4e: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
}}
}}
[[Category:Dice Function]]
[[Category:Dice Function]]
[[Category:Game Specific]]
[[Category:Game_Specific]]

Revision as of 10:22, 19 February 2021

 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.

sr4e() Function

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

Usage

sr4e(times)
sr4e(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.