Luck is a hidden statistic that influences the random nature of various activities in Terraria. There are various ways to increase and decrease this statistic, such as Buff potions and Torch placement. Players can estimate their luck value by teleporting the Wizard to the position in question and speaking to him.
Luck influences many of Terraria's randomly-chosen items and events, such as the chances of valuable and unique item drops, rare enemy spawns, NPC's first appearances (like the Goblin Tinkerer and Wizard), Fairy spawns, and rarer Traveling Merchant inventory items. See below, Items affected by luck, for a full list.
Influences[edit | edit source]
With all positive effects, it is possible to reach a maximum luck value of 1.4, although with no benefit beyond a value of 1. The only factor with a negative effect on luck is from ladybug luck, making it possible to reach a minimum luck value of -0.4.
Ladybug luck[edit | edit source]
(Maximum: +0.4 / Minimum: -0.4)
Ladybug luck relates to interactions with Ladybugs, as well as a few other NPCs.
- If the player touches a naturally spawning ladybug (intersecting hitboxes) that has not been released by a player, then they will receive "good ladybug luck" for 12 minutes. This duration is doubled for golden ladybugs.
- If the player touches the ladybug from more than 30 pixels away, it is possible that the number will be slightly reduced, but the difference is barely noticeable.
- If a player kills a ladybug, they will receive "bad ladybug luck" for 3 minutes. This duration is doubled for golden ladybugs.
- Regardless of whether it is golden or not, there is also an increased chance of rain for the next 30 seconds.
- Fishing with a Ladybug/Golden Ladybug as bait is the same as killing it and will trigger all the same effects.
- If the player kills the Guide, and they don't have "bad ladybug luck", they receive "good ladybug luck" for 4 minutes (if they don't already have a longer good ladybug luck duration). However, killing any other Town NPC (except for the Clothier) will activate "bad ladybug luck" for the next minute (if they don't already have a longer bad ladybug luck duration).
- Due to the shorter duration, and ladybug luck being scaled by remaining time, this will have a very small impact on overall luck.
- Since the luck bonus is not stored as a buff on the character, it dissipates as soon as the player leaves the world.
"Good ladybug luck" adds 0.2 to the final luck score, and "bad ladybug luck" subtracts 0.2. That number is 0.4 for golden ladybugs instead. As the buff time wears off, the ladybug luck becomes less effective with a linear speed, disappearing completely after the timer reaches zero.
Torch luck[edit | edit source]
(Maximum: +0.2 / Minimum: 0)
By placing or holding Torches in the correct locations, players can increase their luck:
- Placed torches in the Surface or Space layers are ignored. That is, above 0 feet height/Level Surface, only player held torches will affect luck.
- Torch luck does not apply in the Dungeon or Jungle Temple.
- In the Underground and below, each type of torch present in a 40 tile square radius around the player (and also any torch they are holding) will increase or reduce torch luck, with the total value limited to a maximum of 0.2 and a minimum of 0.
- With some exceptions, biome torches give good luck in their own biome, while giving a luck penalty in any other location.
- Ordinary torches give a penalty anywhere that a biome torch would be available, and especially the Snow Biome. Bone torches give a bonus in biomes without their own biome torch (and also the Ocean).
- Colored and Ultrabright Torches, along with other light sources such as candles, have no effect.
- The good luck, and luck penalty, are independently limited to a maximum of 0.2 for good luck and 0.3 for the luck penalties. Thus, multiple torches of a given type will have no increased benefit, and one or more incorrect torches will completely negate the benefits of torch luck.
- No matter what penalties accumulate, torch luck overall cannot go below 0 -- it can either provide a bonus to luck, or nothing at all.
|Torch||Beneficial locations||Increased torch luck||Reduced torch luck|
|Ice Torch||Snow biome, Underground Snow||0.2||0.2|
|Desert Torch||Desert, Underground Desert||0.2||0.2|
|Jungle Torch||Jungle, Underground Jungle||0.2||0.2|
|Hallowed Torch||Hallow, Underground Hallow||0.2||0.2|
|Corrupt Torch||Corruption, Underground Corruption||0.2||0.2|
|Crimson Torch||Crimson, Underground Crimson||0.2||0.2|
|Cursed Torch||Corruption, Underground Corruption||0.2||0|
|Ichor Torch||Crimson, Underground Crimson||0.2||0|
|Coral Torch||Oceans||0.2||0 or 0.2 (see notes)|
|Bone Torch||Anywhere outside the Snow biome, Desert, Jungle,
Corruption, Crimson, Hallow, Dungeon or Jungle Temple
|Torch||None||0||0, 0.1 or 0.3 (see notes)|
- Coral torches reduce torch luck by 0.2 only when placed outside water and when outside the Ocean biomes. They increase luck in the Ocean biome whether or not they are in water.
- Regular torches reduce torch luck by 0.1 in the Desert, Jungle, Corruption, Crimson, and Hallow biomes and by 0.3 in the Snow biome. No effects in other locations.
- Bone Torches will provide some benefit in biomes without their own torch (Forest, Glowing Mushroom, Space, Underworld, "plain" Caverns) and also the Ocean.
To maximize luck, players should try to use biome torches underground in their respective biomes, and avoid using the torches for the wrong biome. They should also avoid using ordinary torches in any biome which has its own torch. Bone Torches are useful for biome borders, to avoid standing in one biome with the other biome's torches in range. Above the "level surface", players can boost their luck by holding the proper torch; clearly this will not help with fishing, or anything else that requires a non-torch tool. Combat can still be affected defensively, and by way of indirect attacks: Minions, sentries, armor effects.
If Torch God's Favor is toggled on, "regular" torches are automatically converted to the proper type when held and/or placed in the Hallow, Corruption, Crimson, Jungle, Desert and Snow biomes. Bone Torches and Demon torches can also be automatically placed in the Dungeon or Underworld respectively, but those still have no effect on luck there. (Bone Torches would give a bonus in the Underworld.)
Luck Potions[edit | edit source]
(Maximum: +0.3 / Minimum: 0)
The Lucky (buff) increases luck based on how much time there is left. The values do not stack, so using a Greater Luck Potion will yield +0.3 luck for 5 minutes, then +0.2 luck for 2 minutes, and finally +0.1 luck for 3 minutes.
|> 5 minutes left||+0.3|
|> 3 minutes left||+0.2|
|None of the above||+0.1|
Lantern Nights[edit | edit source]
(Maximum: +0.3 / Minimum: 0)
A Lantern Night increases luck by a flat rate of 0.3. This is active everywhere in the world, even underground. However, they will not start if there is a Blood Moon, Pumpkin Moon, Frost Moon, any boss or invasion active, or if Moon Lord is being summoned.
Garden Gnomes[edit | edit source]
(Maximum: +0.2 / Minimum: 0)
If the player has a Garden Gnome nearby, luck will be increased by a flat rate of 0.2. This effect does not stack with multiple gnomes. The range is estimated to be similar to that of Banners and Campfires (175 by 125 rectangular area centered on the garden gnome).
Impact[edit | edit source]
Luck has a significant impact on multiple random chances throughout the game. Whenever a random chance is rolled in one of the ways listed below, an additional modifier is applied to the chance that the roll has a positive result:
- If the player's luck is greater than 0, then there is a (100 * luck)% chance that the chance is increased.
- The exact increase is itself randomized: if the base chance is 1 in X, the chance will become 1 in Y, where Y is a uniformly-distributed random number between X/2 and X-1 (inclusive). Therefore, an event occuring with a base chance of 1 in X will, on average, become a 1 in (3X-2)/4, with probability (100 * luck)% chance.
- If the player's luck is less than 0, then there is a (-100 * luck)% chance that the chance is decreased.
- Similarly to the above, the decrease is randomized: if the base chance is 1 in X, the chance will become 1 in Y, where Y is a random number between X and X*2-1 (inclusive).
- If the player's luck is 0, the chance will be the base value.
For example, if the base probability of an event is 10%, then:
- If the player's luck is 1.0, there is a 100% chance that the probability will become something between 1 in 5 and 1 in 9, leading to an average final probability of approximately 14.9%.
- If the player's luck is 0.5, there is a 50% chance that the probability is increased, leading to an average final probability of approximately 12.5%.
- If the player's luck is 0.0, the final probability is equal to the base probability, 10%.
- If the player's luck is -0.2, there is a 20% chance that the probability will become something between 1 in 10 and 1 in 19, leading to an average final probability of approximately 9.44%.
- If the player's luck is -0.4, there is a 40% chance that the probability will be decreased, leading to an average final probability of approximately 8.88%.
As an example, for a drop that has a chance of 2% on killing an enemy, if you kill that enemy 1000 times you would expect 20 of that drop:
- After killing a ladybug, you would instead get 18 (rounding down) of that drop. If it took an hour to farm for this drop, it now would take an additional 7 minutes. Note that the bad ladybug luck would wear out by then.
- In an Underground Jungle biome with a single Jungle Torch, a garden gnome, with a luck potion with 5 mins duration remaining, on a Lantern Night, you would get 28 of that drop. If it took an hour to farm for this drop, it now would take approximately 17 fewer minutes.
Items affected by luck[edit | edit source]
In most cases, the player performing the roll influences the luck, however there are some cases (such as shaking trees) that use the closest player's luck.
- All material drop rates, such as Ichor.
- While fishing, positive luck gives a (100 * luck)% chance of silently multiplying your fishing power by a random number between 110% and 140%.
- Inversely, negative luck gives a (-100 * luck)% chance of silently multiplying your fishing power by a random number between 60% and 90%.
- Actual fishing rewards are not influenced by luck beyond fishing power.
- All rare item drop rates, such as the Ancient Horn or Slimy Saddle(or even Rod of Discord).
- Chances of items appearing in the Traveling Merchant inventory.
- The player with the highest luck will be chosen to influence the inventory.
- Chances of Coin Portals appearing from Pots.
- Chances of Gold Critters replacing a regular critter spawn.
- Chances of spawning a Dungeon Spirit.
- Chances of enemies dropping Hearts and Mana Stars.
- Chances of some event enemies dropping more than one heart (Zombie Elf, Scarecrow, Hellhound, Poltergeist).
- Chances of Food dropping from enemies.
- Chances of the Bound Wizard and Bound Goblin appearing underground.
- Chances of Enchanted Nightcrawlers spawning during meteor shower.
- Chances of a Hardmode Dungeon enemy spawning on the wrong wall type (e.g. Skeleton Commando spawning on Slab Wall).
- Chances of a Dungeon Slime spawning.
- Chances of Fairies spawning underground.
- Chances of Gnomes spawning while the Player is in a Living Tree or in front of "unsafe" Dirt Wall.
- Chances of Biome Mimics spawning.
- Chances of Doctor Bones spawning.
- Chances of Ice Golem spawning.
- Chances of Pinky spawning in place of a Blue Slime.
- Damage calculations in many situations are influenced by luck; positive luck will be favorable to the player. Projectiles are influenced by luck, as is enemy melee damage (i.e. touching a Zombie). Player weapons also take luck into account. Thorns Potions do not appear to use luck.
- The following steps are taken to incorporate luck into a player's damage:
- The initial damage value is generated.
- The game checks if the player has > 0 luck, and if so, generates a random number from 0.0 to 1.0. If the random number is less than the player's luck, a second damage value is generated, and the higher of the two numbers is dealt.
- If the player has < 0 luck, a random number is generated from 0.0 to 1.0. If the random number is less than the absolute value of the player's luck, a second damage value is generated, and the lower of the two numbers is dealt.
- This is up to a 5% increase/decrease in average damage before defense.
- Luck affects PvP the same way it affects regular enemies.
- The following steps are taken to incorporate luck into a player's damage:
- Players with high luck have better coin drop rates in the same way as damage, for around a 15% increase/decrease at 100% good/bad luck.
- Any time a boss (or other enemy, notably Mimics and Biome Mimics) is guaranteed to drop one item from a list, luck does not apply to the choice. There are also other boss drops which are unaffected by luck. A list of boss drops which do not scale with luck is listed below.
Wizard Luck status[edit | edit source]
The Wizard will occasionally give the player a general idea of where their luck value is, in place of his regular dialogue.
- If Luck is ≥ 0.75
- "You are overflowing with a blessing of stupendous prosperity!!"
- "Excessive health and happiness gush from your very being! You are a Godsend!!"
- If Luck is ≥ 0.5
- "Have you a garden of four-leaf clovers? You are bursting with essences of great fortune!"
- "Serendipity smiles upon you! It is likely you shall find profit in all things!"
- If Luck is ≥ 0.25
- "You are giving off a positive energy, like something grand could occur at any moment."
- "There are vibes of good fortune emanating from you, as though your wishes could possibly come true."
- If Luck is > 0
- "I sense a speck of good karma about you, but I could be mistaken."
- "There's something unusually warm about you. I'm not sure how to place it, but keep walking in that direction."
- If Luck is < 0
- "The air feels dull and gloomy where you step. Be wary of ill feelings."
- "Is something bothering you? Something doesn't feel quite right about you."
- If Luck is < -0.2
- "Negative energy is seeping from your pores. I wouldn't take any chances today."
- "Unfortunate omens hang over your head. You DID forward that letter, right?"
- If Luck is < -0.4
- "I feel a terrible fate surrounding you! You should just stay in bed today!"
- "What manner of salt did you spill to receive such misfortune!?"
- If Luck is < -0.6 (impossible to access)
- "Stay away! You are dragging a behemoth of woeful bad luck in your wake! I want nothing of it!!"
- "Did you smash every mirror in WorldName!? You hapless fool, you are cursed beyond help!!"
Trivia[edit | edit source]
- When introduced, mismatched torches could result in a negative torch luck value, reducing the final luck score. This was shortly removed in 184.108.40.206 after a Reddit post criticizing the mechanic went viral, causing a large community backlash. This change caused the wizard's messages below -0.6 luck to become impossible to see in-game.
- A Wizard dialogue when having a luck value less than -0.2, "...You DID forward that letter, right?" is a reference to the phenomenon of chain letters, specifically those that promise bad luck if the sender did not "copy" or "forward" to the next person(s) in the chain.
History[edit | edit source]
- Desktop 220.127.116.11: Negative luck influence from torches capped at a minimum of 0. Incorrect torches can still remove positive luck influence from torches.
- Desktop 18.104.22.168: Introduced.
- Mobile 22.214.171.124.0: Introduced with changes from Desktop 126.96.36.199.
References[edit | edit source]
- Information taken from the Desktop 188.8.131.52 source code, function NPCLuck() in NPC.cs There may be inaccuracies, as the current Desktop version is 184.108.40.206.
- Information taken from the Desktop 220.127.116.11 source code, function RollLuck() in Player.cs There may be inaccuracies, as the current Desktop version is 18.104.22.168.
- Information taken from the Desktop 22.214.171.124 source code, function FishingCheck() in Projectile.cs There may be inaccuracies, as the current Desktop version is 126.96.36.199.
- Information taken from the Desktop 188.8.131.52 source code, function damageVar() in Main.cs There may be inaccuracies, as the current Desktop version is 184.108.40.206.
- Information taken from the Desktop 220.127.116.11 source code, several methods in
. There may be inaccuracies, as the current Desktop version is 18.104.22.168.