After discussing with AV on IRC, I modified a few minor things here, and I think I have what can be considered the final patch for luck. 1) I placed the convenience functions in their own file, with the hope that other misc. convenience functions might end up there in the future. 2) I special cased the d2 and d3 cases, to avoid overbearing luck. 3) These were patched onto the anoncvs sources. I would like to submit these for inclusion in the sources. I also intend to slowly find all the other uses of RANDOM and evaluate and modify each deserving one, so I guess that means, lots more patches to come. --- Tim Rightnour < root at garbled.net > NetBSD: Free multi-architecture OS http://www.netbsd.org/ NetBSD supported hardware database: http://mail-index.netbsd.org/cgi-bin/hw.cgi -------------- next part -------------- A non-text attachment was scrubbed... Name: luck.patch Type: application/octet-stream Size: 8263 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20010917/80fcc9f6/luck.obj