Luck

Posted by Tseris on Fri 12 Oct 2007 02:04 AM — 4 posts, 16,372 views.

#0
Trying to become more familiar with Smaug code, and Ive never been on a mud that used the luck attribute before. Read the helpfile on it, but thats pretty vague. Exactly what does this have an effect on? Trying to decide whether or not to keep it.

Thanks,
Tseris
Australia Forum Administrator #1
I did this on the source code:


grep -w lck *.c


I only got 28 lines of response, most of which were simply printing the luck value. Looks like it doesn't do much.

It seems to affect polymorph a bit.
#2
Heh ok sounds good. Im not a big fan of it anyway. I think when I actually get my mud up and running Ill just remove it from the score screen and anything the players can see. If it actually has some purpose, so be it, but players will never know.
USA #3
Actually it does quite a lot of stuff... try grepping for 'get_curr_lck' or 'chance' (which makes use of get_curr_lck) for a bunch of examples. (The problem was the -w flag, which only returned full words, and not 'lck' in bigger words.)