Talk:Luck

Ladybug Cage
If we touch a Ladybug Cage just like we touch normal "free" ladybugs, will our luck increase? Pier091 (talk) 13:25, 22 May 2020 (UTC)
 * No; the only thing that impacts ladybug luck is touching a ladybug or gold ladybug NPC. MageKing17 (talk) 18:28, 22 May 2020 (UTC)
 * Too bad. Thanks for answering. Pier091 (talk) 21:13, 23 May 2020 (UTC)

PLACED Torches having no Value and Ladybugs not giving GOOD luck anymore?
Do placed torched not give any torch value point towards luck anymore with 1.4.0.3 update anymore? It appears only holding torches does anything for luck anymore. And later on with testing touching ladybugs I didn't get dialogue about good luck after touching a ladybug with the Wizard, only a bad luck dialogue when I killed one then talked to him. --Dstroyar (talk) 15:08, 21 May 2020 (UTC)

Are you sure? Did he not give you his (Above zero) dialogue? Try touching a golden ladybug and see if he gives you the (Above 0.25) dialogue. Get back to him as quickly as you can. As for Torch Luck, I heard that only negative torch luck was removed, rather than both. 108.217.54.150 19:52, 21 May 2020 (UTC)
 * The luck calculations are exactly the same as before, except torchLuck can't go below 0 and the game scans the area for torches more slowly (it used to scan three rows per frame, now it's just one). In practice, this just means torch luck will take slightly longer to update, but it should happen slightly more often than every second-and-a-half. However, and this is not new behavior, if you're not underground, the game doesn't bother scanning for torches and just uses whatever torch you're holding (if any) to calculate torch luck. MageKing17 (talk) 04:54, 22 May 2020 (UTC)

Does this mean that mismatched biome torches (e.g. ice torches in the jungle) can still cancel out things like the Bone Torch bonus and correct biome torches? 65.185.145.188 06:12, 22 May 2020 (UTC)
 * Yes; the negative score still applies to torch luck, it's just that torch luck itself is capped to a minimum of 0 so that you can't get a luck penalty from it. MageKing17 (talk) 06:19, 22 May 2020 (UTC)

So I tested it a hell of a lot in MP and Ladybugs must be wild, and cannot be released and touched for the positive effects, I tried touching ones I released, and ones others have released with over 20 ladybugs swarming me while spam talking with Wizard and no dice, I was not getting any Luck based dialogue. --Dstroyar (talk) 20:08, 22 May 2020 (UTC)
 * Yes, a player-released Ladybug will not give luck (it also won't give luck if you currently have bad ladybug luck). MageKing17 (talk) 20:14, 22 May 2020 (UTC)
 * The Luck page has been stating that player released ladybugs will give the buff, so I was confused and wasted quite a bit of time testing and trying to make it work lol --Dstroyar (talk) 20:17, 22 May 2020 (UTC)

Prismatic Lacewing?
Does Luck affect boss item spawns like Prismatic Lacewing, Truffle Worm or Gelatin Crystal? Mathbrush1 (talk) 02:19, 19 May 2020 (UTC)

Actual effect of luck
"If the player's luck is 1.0, there's a 100% chance that the probability is doubled, leading to a final probability of 20%." This is not true. A luck value of 1.0 just means there's a 100% chance of the probability being modified; what the final probability becomes is still random. Using the given example of a 10% chance, assuming a luck value of 1.0, the probability goes from 1 in 10 to 1 in a random value between 5 and 9; this averages out to 7, meaning an average probability of approximately 14.3% (which is most certainly not 20%). MageKing17 (talk) 21:49, 19 May 2020 (UTC)

Actually, this is not how this average works. Your average probability is (1/5 + 1/6 + 1/7 + 1//8 + 1/9)/5 =~ 14.9% 189.4.74.53 07:04, 24 May 2020 (UTC)

Luck on Combat
1) When a damage roll is made, is a crit roll also made? 2) Does this apply to received random damage? NoHomeLike192 168 8 1 (talk) 05:29, 20 May 2020 (UTC)

Ladybug Luck
does capturing ladybugs in a net reduce luck? if it doesnt then you can just touch then catch a ladybug every 3/6 minutes Hipsterhydra (talk) 20:25, 20 May 2020 (UTC)

Campfires...
At least some of the biome torches, and several of the other luck-affecting torches, also have campfires. Do those affect luck, or otherwise react to the biome they're placed in? --MentalMouse42 (talk) 01:19, 21 May 2020 (UTC)
 * Nope! Campfires have absolutely no effect on luck, according to the code. Breathlessblizzard (talk) 01:35, 21 May 2020 (UTC)

Skeleton Merchant inventory is affected by luck?
The main page about Luck says that Luck affects Traveling Merchant and Skeleton Merchant sell inventory, but Skeleton Merchant inventory is not defined when he spawns, and can even change based on conditions after he has spawned, so either his page is missing new items, or there's something wrong. IchijoBR (talk) 06:34, 21 May 2020 (UTC)
 * I wrote that in the early drafting process, on the day we discovered it, and I'm not too sure of its accuracy now. I'll make a change to reflect that, thanks for bringing it to my attention! Breathlessblizzard (talk) 08:19, 21 May 2020 (UTC)

Fishing Affected by luck?
Is fishing affected in any sort of way with luck? BubbleGum~ 23:22, 21 May 2020 (UTC)

It has a chance of affecting fishing level, and opening crates does not care. 73.71.82.80 00:00, 22 May 2020 (UTC)

Overlapping Biomes?
how is torch luck handled in overlapping biomes, eg: Hallowed Snow, Crimson Desert, etc.?
 * The torch luck code just looks at each torch type and its associated biome individually; a Crimson Desert, to this code, is both a Crimson biome and a Desert biome that just so happen to be occupying the same space—and therefore both Corrupt and Desert torches would provide positive score and not negative score. MageKing17 (talk) 19:11, 22 May 2020 (UTC)
 * In that case though, how does a regular torch interact with hybrid biomes? Is the negative score applied twice?

"Touching" ladybugs?
I'm confused, are you supposed to interact with them somehow? How can you "touch" a ladybug if it's 30 blocks away? 68.190.118.39 07:28, 24 May 2020 (UTC)
 * 30 pixels, not 30 blocks. Just run past one so your sprite overlaps it and you'll get the bonus. Breathlessblizzard (talk) 09:04, 24 May 2020 (UTC)