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

◆ DoBootsEffect()

void Terraria.Player.DoBootsEffect ( Utils::TileActionAttempt theEffectMethod)
inline

Definition at line 13400 of file Player.cs.

13401 {
13402 if (miscCounter % 2 == 0 && velocity.Y == 0f && grappling[0] == -1 && velocity.X != 0f)
13403 {
13404 int x = (int)base.Center.X / 16;
13405 int y = (int)(position.Y + (float)height - 1f) / 16;
13406 theEffectMethod(x, y);
13407 }
13408 }
Vector2 velocity
Definition Entity.cs:16
Vector2 position
Definition Entity.cs:14
int[] grappling
Definition Player.cs:2305