Difference between revisions of "Rnd"

From NetHackWiki
Jump to navigation Jump to search
m (Category: Random number functions)
(cat)
Line 7: Line 7:
  
 
{{stub}}
 
{{stub}}
[[Category:Annotations]]
 
 
[[Category:Random number functions]]
 
[[Category:Random number functions]]

Revision as of 21:08, 29 May 2011

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.