Talk:Lucky Coin

Expected value math
How does one arrive at the average value of 12s18c that the article says? According to my math the correct value should be 1s22c:

$$ \begin{array}{lclcl} C_d &=& chance\ of\ drop &=& 0.2 \\ C_c &=& chance\ of\ copper &=& 0.891 \\ C_s &=& chance\ of\ silver &=& 0.099 \\ C_g &=& chance\ of\ silver &=& 0.01 \\ E_a &=& expected\ amount\ of\ coins &=& 5.5 \end{array} $$

The formula I'm using is:

$$C_d \times (C_c + C_s \times 100 + C_g \times 10000) \times E_a$$

Substituting the values:

$$ \begin{array}{l} 0.2 \times (0.891 + 0.099 \times 100 + 0.01 \times 10000) \times 5.5 \\ 0.2 \times (0.891 + 9.9 + 100) \times 5.5 \\ 0.2 \times 110.791 \times 5.5 \\ 121.869 \end{array} $$

That is, the expected value is 121.869 coppers, or 1 silver and 22 coppers, with rounding.

In order to test this experimentally I set up a chest statue farm and used a slime staff. I averaged about 15 hits per second, and let the experiment run for 5 minutes. If the article is right I should get about 5p48g10s:

$$ \begin{array}{lcl} hits\ per\ second &=& 15 \\ money\ per\ hit &=& 1218\ coppers \end{array} $$

$$300 s \times 15 h/s \times 1218 c/h = 5481000 c = 5p48g10s$$

If my math is right I should get about 54g90s:

$$ \begin{array}{lcl} hits per second & = 15 \\ money per hit & = 122\ coppers \end{array} $$

$$300 s \times 15 h/s \times 122 c/h = 549000 c = 54g90s$$

I left it running for 5 minutes and got 70g5s74c, which is much closer to my math than to the article.

Is there something wrong with my math and my experiment or is the article wrong?

189.60.196.165 01:27, 8 September 2019 (UTC) --189.60.196.165 02:05, 8 September 2019 (UTC)

Probability count
The type of coins probability count is incorrect. It is 89.9% (copper) + 9.9% (silver) + 1% (gold) = 100.8% instead of 100% overall.

Amusing Modifier
I got a Lucky Coin to drop just now during a Pirate Invasion in a Snow biome, and as luck would have it, it had a +2% critical strike chance, making it a 'Lucky' Lucky Coin. Talk about confusing not-quite-redundancies!

Platinum Coins?
Is it possible for enemies to drop Platinum coins when Lucky Coin is equipped? Can anyone verify one way or another from the game's source code?

Easy way to farm money
Lucky Coin actually DOES drop coins from statue-spawned enemies, as of 1.2.4.1. An easy way to get lots of money is to use any minion armor and summon the max number of any melee minion that you are able. Any enemy that drops coins normally will work, though Jellyfish are best, as they also can drop Jellyfish Necklaces that sell for over 1 gold each.

Console workaround?
Since one of the notes states that Lucky Coin won't work on consoles unless you deal 1 damage to an enemy, wouldn't the bee gun (or another low damage, high fire rate weapon) work around this as it deals 1 damage for each bee against pretty much all hardmode enemies? Seems like that might be a good idea for money farming against trapped high hp enemies.

Meteor Heads
I've noticed that Meteor Heads are giving me some coins, even though my world is in Hardmode and therefore they shouldn't be giving me any loot. I'm not sure what's happening. I wasn't carrying the Lucky Coin, but the Greedy Ring. Maybe the Greedy Ring is glitched and it works with enemies that normally are excluded with the Lucky Coin? --Morenohijazo 16:27, 2 May 2017 (UTC)