TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ UpdateCoinLuck()

void Terraria.Player.UpdateCoinLuck ( )
inlineprivate

Definition at line 16606 of file Player.cs.

16607 {
16608 if (!(coinLuck <= 0f))
16609 {
16610 coinLuck *= 0.9999f;
16611 if ((double)coinLuck < 0.25)
16612 {
16613 coinLuck = 0f;
16614 }
16615 }
16616 }

References Terraria.Player.coinLuck.

Referenced by Terraria.Player.UpdateLuckFactors().

+ Here is the caller graph for this function: