Changes

Jump to navigation Jump to search
m
typo
Line 26: Line 26:  
|-
 
|-
 
|[[File:LuckStar.gif]]
 
|[[File:LuckStar.gif]]
|{{name|Luck|> +0.07 and < max}}
+
|{{name|Luck|> +0.07 and < 0.1 (or 0.125 with Special Charm)}}
 
|-
 
|-
 
|The spirits are in good humor today. I think you'll have a little extra luck.
 
|The spirits are in good humor today. I think you'll have a little extra luck.
Line 46: Line 46:  
| rowspan=2 | The spirits are very displeased today. They will do their best to make your life difficult.
 
| rowspan=2 | The spirits are very displeased today. They will do their best to make your life difficult.
 
|[[File:LuckSkull.gif]]
 
|[[File:LuckSkull.gif]]
|{{name|Luck|> minimum and < -0.07}}
+
|{{name|Luck|> -0.1 (or -0.075 with Special Charm) and < -0.07}}
 
|-
 
|-
 
|[[File:LuckSkullMin.gif]]
 
|[[File:LuckSkullMin.gif]]
|{{name|Luck|-0.1 or -0.085 with Special Charm}}
+
|{{name|Luck|-0.1 or -0.075 with Special Charm}}
 
|}
 
|}
 +
 +
Daily luck has 201 possible values<ref name="luck"/>, so the probability of getting best possible luck, worst possible luck, and absolutely neutral luck are 1/201 each. Due to a rounding error in the game code, it's impossible to get absolutely neutral luck with the Special Charm<ref name="absolutely_neutral"/>.
    
===Special Charm===
 
===Special Charm===
Line 80: Line 82:  
*Results of playing slots at the [[Casino]].
 
*Results of playing slots at the [[Casino]].
 
*Amount of lightning during a storm (higher luck increases the amount).<ref name="lightning" />
 
*Amount of lightning during a storm (higher luck increases the amount).<ref name="lightning" />
*Chance of a [[Trees|tree]] being struck by lighting (higher luck decreases the chance).<ref name="lightning" />
+
*Chance of a [[Trees|tree]] being struck by lightning (higher luck decreases the chance).<ref name="lightning" />
    
==Luck Buffs==
 
==Luck Buffs==
Line 206: Line 208:  
     <ref name="luck">See <samp>Game1::_newDayAfterFade</samp> in the game code.</ref>
 
     <ref name="luck">See <samp>Game1::_newDayAfterFade</samp> in the game code.</ref>
 
     <ref name="tvluck">See <samp>Objects.TV::getFortuneForecast</samp> in the game code.</ref>
 
     <ref name="tvluck">See <samp>Objects.TV::getFortuneForecast</samp> in the game code.</ref>
 +
    <ref name="absolutely_neutral">The special charm adds <samp>(double)0.025f</samp> (see <samp>Farmer::DailyLuck</samp>), which is actually 0.02500000037252903. Those trailing digits are never cancelled out as the TV code checks whether the daily luck is exactly zero as a double.</ref>
 
     <ref name="radioactive">See <samp>Locations.MineShaft::chooseStoneType</samp> in the game code.</ref>
 
     <ref name="radioactive">See <samp>Locations.MineShaft::chooseStoneType</samp> in the game code.</ref>
 
     <ref name="dwoop">See <samp>Crop::Harvest</samp> in the game code.</ref>
 
     <ref name="dwoop">See <samp>Crop::Harvest</samp> in the game code.</ref>

Navigation menu