Difference between revisions of "User talk:LunaeLumen"

From CrawlWiki
Jump to: navigation, search
(Random2 function)
 
Line 10: Line 10:
 
: random2avg(x, n): Same as above, but rolled n times and averaged. Same range, lower variance.
 
: random2avg(x, n): Same as above, but rolled n times and averaged. Same range, lower variance.
 
: [[User:LunaeLumen|LunaeLumen]] ([[User talk:LunaeLumen|talk]]) 13:21, 4 January 2022 (CET)
 
: [[User:LunaeLumen|LunaeLumen]] ([[User talk:LunaeLumen|talk]]) 13:21, 4 January 2022 (CET)
 +
:: Thanks. [[User:Spudwalt|--spudwalt]] ([[User talk:Spudwalt|talk]]) 23:15, 4 January 2022 (CET)

Latest revision as of 00:15, 5 January 2022

Welcome to CrawlWiki! If you need help getting started, please visit the help section and how to help,

If you are looking for something to do, check out the Current projects page.

If you have any questions about this wiki you can talk to other editors here. Just remember to sign those posts with four tildes: ~~~~ (or click the signature button).


Thanks for updating pages about such complex and technical topics as miscasts and stabbing. Your help is extremely appreciated. Ge0ff (talk) 11:19, 3 September 2020 (CEST)

Random2 function

Since you updated the staff of Wucad Mu page, I'm assuming you know more about how the random2 function works in the game's code than I do. Is random2(x) the same as 1d(x)? 1d(x)-1? How's it work? --spudwalt (talk) 09:24, 4 January 2022 (CET)

random2(x): Random integer from 0 to x - 1 (so, 1dx - 1).
random2avg(x, n): Same as above, but rolled n times and averaged. Same range, lower variance.
LunaeLumen (talk) 13:21, 4 January 2022 (CET)
Thanks. --spudwalt (talk) 23:15, 4 January 2022 (CET)