new luck calculation (see Game1::_newDayAfterFade())
Line 29:
Line 29:
With [[Modding:Index|SMAPI]] and its included "Trainer Mod", the debug command <tt>debug specialCharm</tt> can be used.
With [[Modding:Index|SMAPI]] and its included "Trainer Mod", the debug command <tt>debug specialCharm</tt> can be used.
−
{{beta3|The Special Charm can be obtained after collecting Secret Note #20, following the path to the truck next to JojaMart, and giving the driver a Rabbit's Foot. The Special Charm will then appear in the player's wallet, and permanently increase luck.}}
+
{{beta3|The Special Charm can be obtained after collecting Secret Note #20, following the path to the truck next to JojaMart, and giving the driver a Rabbit's Foot. The Special Charm will then appear in the player's wallet, and permanently increase luck, according to the following formula:
+
<pre>Daily Luck = The minimum of
+
(0.10000000149011612)
+
and
+
((a random number between -0.1 and 0.1) + (0.25 if player has Special Charm))</pre>}}