terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ UpdateLuckFactors()

void Terraria.Player.UpdateLuckFactors ( )
inline

Definition at line 8349 of file Player.cs.

8350 {
8351 this.UpdateLadyBugLuckTime();
8352 float num = this.coinLuck;
8353 this.coinLuck = num;
8354 int whoAmI = this.whoAmI;
8355 int myPlayer = Main.myPlayer;
8356 float num2 = this.torchLuck;
8358 float num3 = this.torchLuck;
8359 this.luckNeedsSync = true;
8360 }
class f__AnonymousType0<< Count > j__TPar
void TryRecalculatingTorchLuck()
Definition Player.cs:5324
void UpdateLadyBugLuckTime()
Definition Player.cs:5765

References Terraria.Player.coinLuck, j__TPar, Terraria.Main.myPlayer, Terraria.Player.torchLuck, Terraria.Player.TryRecalculatingTorchLuck(), Terraria.Player.UpdateLadyBugLuckTime(), and Terraria.Entity.whoAmI.

Referenced by Terraria.Player.UpdateLuck().