Difference between revisions of "Talk:Luck"

From NetHackWiki
Jump to navigation Jump to search
(Min and max luck: new section)
Line 8: Line 8:
  
 
Is there a relationship between luck and the possibility of displacing one's pet?  I had a roomful of flame spheres in SLASH'EM once and couldn't move through them because my luck was so low.[[User:Ih fek|Ih fek]] 18:46, 10 March 2009 (UTC)
 
Is there a relationship between luck and the possibility of displacing one's pet?  I had a roomful of flame spheres in SLASH'EM once and couldn't move through them because my luck was so low.[[User:Ih fek|Ih fek]] 18:46, 10 March 2009 (UTC)
 +
 +
== Min and max luck ==
 +
 +
I removed the phrase "beyond the baseline" where minimum and maximum luck are discussed.  While there is a comment "on moonlit lights 11" in the code [[you.h#326]], this concept is not implemented.  LUCKMIN and LUCKMAX are defined as -10 and +10 in you.h and they are not changed anywhere else in the code.  Changes to luck are made by change_luck [[attrib.c#198]] which uses LUCKMIN and LUCKMAX unmodified.  The +1/-1 for full moon/Friday the 13th are implemented on initialization, [[allmain.c#32]] and [[allmain.c#39]], via calls to change_luck.
 +
[[User:Skidragon|Skidragon]] 22:24, 27 June 2009 (UTC)

Revision as of 22:24, 27 June 2009

Under "Luck in-game effects" it states that luck increases the chance of "Picking something off the floor by applying your whip."

I tried this with a expert level arc at XL:30 and couldn't pick up a diamond with it. Are there certain items that can and cannot be picked up with a whip? The bullwhip page doesn't mention this use at all.

Serratus 15:54, 29 July 2008 (UTC)

You have to be levitating or riding, and you must apply the whip at . or >. In wizard mode I was able to pick up a diamond while levitating and while riding. -- Killian 03:24, 30 July 2008 (UTC)

Is there a relationship between luck and the possibility of displacing one's pet? I had a roomful of flame spheres in SLASH'EM once and couldn't move through them because my luck was so low.Ih fek 18:46, 10 March 2009 (UTC)

Min and max luck

I removed the phrase "beyond the baseline" where minimum and maximum luck are discussed. While there is a comment "on moonlit lights 11" in the code you.h#326, this concept is not implemented. LUCKMIN and LUCKMAX are defined as -10 and +10 in you.h and they are not changed anywhere else in the code. Changes to luck are made by change_luck attrib.c#198 which uses LUCKMIN and LUCKMAX unmodified. The +1/-1 for full moon/Friday the 13th are implemented on initialization, allmain.c#32 and allmain.c#39, via calls to change_luck. Skidragon 22:24, 27 June 2009 (UTC)