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

◆ GetClosestRollLuck() [1/2]

static float Terraria.Player.GetClosestRollLuck ( int x,
int y,
int range )
inlinestatic

Definition at line 16705 of file Player.cs.

16706 {
16707 //IL_000f: Unknown result type (might be due to invalid IL or missing references)
16708 return Main.player[FindClosest(new Vector2((float)(x * 16), (float)(y * 16)), 1, 1)].RollLuck(range);
16709 }
static byte FindClosest(Vector2 Position, int Width, int Height)
Definition Player.cs:5246

References Terraria.Player.FindClosest(), and Terraria.Main.player.

+ Here is the call graph for this function: