MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] The grass is always greener in the other field
On Fri, 17 Dec 1999 14:21:57 -0800
Sellers, Michael <MSellers#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#kanga,nu
----------(*) Internet: coder#kanga,nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re[2]: [MUD-Dev] The grass is always greener in the other field, (continued)
[ Other Periods
| Other mailing lists
| Search
]