rnd

From NetHackWiki
Revision as of 23:53, 1 February 2011 by Ray Chason (talk | contribs) (Category: Random number functions)
Jump to navigation Jump to search

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.