Difference between revisions of "Rnd"
Jump to navigation
Jump to search
(cat) |
|||
Line 8: | Line 8: | ||
{{stub}} | {{stub}} | ||
[[Category:Random number functions]] | [[Category:Random number functions]] | ||
+ | {{nethack-343}} |
Revision as of 02:38, 21 December 2015
rnd(x)[1] is a pseudo-random number function used in NetHack when a result should be unweighted. The range of values is between 1 and x inclusive (that is, 1<=rnd(x)<=x).
References
- This page is a stub. Should you wish to do so, you can contribute by expanding this page.
This page may need to be updated for the current version of NetHack.
It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.
Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.