Definition at line 17412 of file Player.cs.
17413 {
17415 {
17418 return;
17419 }
17421 {
17423 }
17426 {
17428 return;
17429 }
17430 int num = 1;
17435 value = Utils.Clamp(
value, 10, Main.maxTilesX - 10);
17436 value2 = Utils.Clamp(
value2, 10, Main.maxTilesX - 10);
17437 for (
int i = 0;
i < num;
i++)
17438 {
17441 {
17442 continue;
17443 }
17445 {
17447 if (tile == null)
17448 {
17449 return;
17450 }
17451 if (!tile.active() || tile.type != 4 || tile.frameX < 0 || tile.frameY < 0)
17452 {
17453 continue;
17454 }
17455 if (tile.frameX < 66)
17456 {
17458 }
17459 int num5 = tile.frameY / 22;
17461 {
17463 if (
num5 == 17 && (tile.liquid == 0 || tile.liquidType() != 0))
17464 {
17466 }
17467 }
17468 }
17470 {
17472 return;
17473 }
17474 }
17476 }
static readonly short Count
void UpdateTorchLuck_ConsumeCountersAndCalculate()
Vector2 _nextTorchLuckCheckCenter
References Terraria.Tile.active(), Terraria.ID.TorchID.Count, Terraria.Tile.frameX, Terraria.Tile.frameY, Terraria.Tile.liquid, Terraria.Tile.liquidType(), Terraria.Main.maxTilesX, Terraria.Main.maxTilesY, Terraria.Main.tile, Terraria.Tile.type, System.value, and Terraria.Main.worldSurface.