Definition at line 17600 of file Player.cs.
17601 {
17606 {
17608 }
17609 float num = 0f;
17612 {
17614 {
17616 {
17618 }
17619 else
17620 {
17621 num += 1f;
17622 }
17623 }
17625 {
17627 {
17629 }
17630 else
17631 {
17632 num += 1f;
17633 }
17634 }
17636 {
17637 if (
WorldGen.oceanDepths((
int)
base.Center.X / 16, (
int)
base.Center.Y / 16))
17638 {
17640 }
17642 {
17643 num += 1f;
17644 }
17645 }
17647 {
17649 {
17651 }
17652 else
17653 {
17654 num += 1f;
17655 }
17656 }
17658 {
17660 {
17662 }
17663 else
17664 {
17665 num += 1f;
17666 }
17667 }
17669 {
17671 {
17673 }
17674 else
17675 {
17676 num += 1f;
17677 }
17678 }
17680 {
17682 }
17684 {
17686 {
17688 }
17689 else
17690 {
17691 num += 1f;
17692 }
17693 }
17695 {
17697 }
17699 {
17701 {
17703 }
17704 else
17705 {
17706 num += 1f;
17707 }
17708 }
17710 {
17712 }
17714 {
17716 {
17717 num += 2f;
17718 }
17720 {
17721 num += 0.5f;
17722 }
17723 }
17724 }
17726 {
17728 }
17729 else if (
num2 > 0f)
17730 {
17732 }
17733 if (num >= 2f)
17734 {
17736 }
17737 else if (num >= 1f)
17738 {
17740 }
17741 else if (num > 0f)
17742 {
17744 }
17747 {
17749 }
17751 {
17753 }
17755 {
17756 bool flag = false;
17758 {
17760 {
17761 flag = true;
17762 break;
17763 }
17764 }
17765 if (!flag)
17766 {
17769 }
17770 }
17772 }
static readonly short Count
Vector2 _nextTorchLuckCheckCenter
int numberOfTorchAttacksMade
References Terraria.ID.TorchID.Count, Terraria.WorldGen.oceanDepths(), Terraria.Item.placeStyle, System.type, and Terraria.Main.worldSurface.