[MUD-Dev] The grass is always greener in the other field

J C Lawrence claw at cp.net
Fri Dec 17 15:58:21 New Zealand Daylight Time 1999

On Fri, 17 Dec 1999 14:21:57 -0800 
Sellers, Michael <MSellers at maxis.com> wrote:

> seed = location seed + (obj ID | activity ID) + your skill level
> randNum = rand(seed) 
> if (your skill > randNum) success = TRUE;

> Is that essentially what you were talking about?

Given a rand() function that will always return the same value for
the same argument, yes.  Without that you merely have a more
expensive PRNG with odd distributions -- ie little to no gain.

J C Lawrence                              Internet: claw at kanga.nu
----------(*)                            Internet: coder at kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...

MUD-Dev maillist  -  MUD-Dev at kanga.nu

More information about the MUD-Dev mailing list