Definition at line 49624 of file Player.cs.
49625 {
49626 if (
whoAmI == Main.myPlayer &&
sItem.type == 603 && Main.runningCollectorsEdition)
49627 {
49629 }
49630 if (
whoAmI == Main.myPlayer &&
sItem.type == 669)
49631 {
49633 }
49634 if (
whoAmI == Main.myPlayer &&
sItem.type == 115)
49635 {
49637 }
49638 if (
whoAmI == Main.myPlayer &&
sItem.type == 3060)
49639 {
49641 }
49642 if (
whoAmI == Main.myPlayer &&
sItem.type == 3628)
49643 {
49645 }
49646 if (
whoAmI == Main.myPlayer &&
sItem.type == 3062)
49647 {
49649 }
49650 if (
whoAmI == Main.myPlayer &&
sItem.type == 3577)
49651 {
49653 }
49654 if (
whoAmI == Main.myPlayer &&
sItem.type == 425)
49655 {
49656 int num = Main.rand.Next(3);
49657 if (num == 0)
49658 {
49659 num = 27;
49660 }
49661 if (num == 1)
49662 {
49663 num = 101;
49664 }
49665 if (num == 2)
49666 {
49667 num = 102;
49668 }
49670 {
49672 {
49675 }
49676 }
49678 }
49679 if (
whoAmI == Main.myPlayer &&
sItem.type == 753)
49680 {
49682 }
49683 if (
whoAmI == Main.myPlayer &&
sItem.type == 994)
49684 {
49686 }
49687 if (
whoAmI == Main.myPlayer &&
sItem.type == 1169)
49688 {
49690 }
49691 if (
whoAmI == Main.myPlayer &&
sItem.type == 1170)
49692 {
49694 }
49695 if (
whoAmI == Main.myPlayer &&
sItem.type == 1171)
49696 {
49698 }
49699 if (
whoAmI == Main.myPlayer &&
sItem.type == 1172)
49700 {
49702 }
49703 if (
whoAmI == Main.myPlayer &&
sItem.type == 1180)
49704 {
49706 }
49707 if (
whoAmI == Main.myPlayer &&
sItem.type == 1181)
49708 {
49710 }
49711 if (
whoAmI == Main.myPlayer &&
sItem.type == 1182)
49712 {
49714 }
49715 if (
whoAmI == Main.myPlayer &&
sItem.type == 1183)
49716 {
49718 }
49719 if (
whoAmI == Main.myPlayer &&
sItem.type == 1242)
49720 {
49722 }
49723 if (
whoAmI == Main.myPlayer &&
sItem.type == 1157)
49724 {
49726 }
49727 if (
whoAmI == Main.myPlayer &&
sItem.type == 1309)
49728 {
49730 }
49731 if (
whoAmI == Main.myPlayer &&
sItem.type == 1311)
49732 {
49734 }
49735 if (
whoAmI == Main.myPlayer &&
sItem.type == 1837)
49736 {
49738 }
49739 if (
whoAmI == Main.myPlayer &&
sItem.type == 1312)
49740 {
49742 }
49743 if (
whoAmI == Main.myPlayer &&
sItem.type == 1798)
49744 {
49746 }
49747 if (
whoAmI == Main.myPlayer &&
sItem.type == 1799)
49748 {
49750 }
49751 if (
whoAmI == Main.myPlayer &&
sItem.type == 1802)
49752 {
49754 }
49755 if (
whoAmI == Main.myPlayer &&
sItem.type == 1810)
49756 {
49758 }
49759 if (
whoAmI == Main.myPlayer &&
sItem.type == 1927)
49760 {
49762 }
49763 if (
whoAmI == Main.myPlayer &&
sItem.type == 1959)
49764 {
49766 }
49767 if (
whoAmI == Main.myPlayer &&
sItem.type == 2364)
49768 {
49770 }
49771 if (
whoAmI == Main.myPlayer &&
sItem.type == 2365)
49772 {
49774 }
49775 if (
whoAmI == Main.myPlayer &&
sItem.type == 3043)
49776 {
49778 }
49779 if (
whoAmI == Main.myPlayer &&
sItem.type == 2420)
49780 {
49782 }
49783 if (
whoAmI == Main.myPlayer)
49784 {
49785 switch (
sItem.type)
49786 {
49787 case 2535:
49788 case 2551:
49789 case 2584:
49790 case 2587:
49791 case 2621:
49792 case 2749:
49793 case 3249:
49794 case 3474:
49795 case 3531:
49796 case 4269:
49797 case 4273:
49798 case 4281:
49799 case 4607:
49800 case 4758:
49801 case 5005:
49802 case 5069:
49803 case 5114:
49805 break;
49806 }
49807 }
49808 if (
whoAmI == Main.myPlayer)
49809 {
49810 switch (
sItem.type)
49811 {
49812 case 3855:
49813 case 3856:
49814 case 3857:
49815 case 4365:
49816 case 4366:
49817 case 4425:
49818 case 4550:
49819 case 4551:
49820 case 4603:
49821 case 4604:
49822 case 4605:
49823 case 4701:
49824 case 4735:
49825 case 4736:
49826 case 4737:
49827 case 4777:
49828 case 4797:
49829 case 4798:
49830 case 4799:
49831 case 4800:
49832 case 4801:
49833 case 4802:
49834 case 4803:
49835 case 4804:
49836 case 4805:
49837 case 4806:
49838 case 4807:
49839 case 4808:
49840 case 4809:
49841 case 4810:
49842 case 4811:
49843 case 4812:
49844 case 4813:
49845 case 4814:
49846 case 4815:
49847 case 4816:
49848 case 4817:
49849 case 4960:
49850 case 5088:
49851 case 5089:
49852 case 5090:
49853 case 5091:
49854 case 5098:
49855 case 5131:
49856 case 5276:
49857 case 5297:
49858 case 5332:
49859 case 5333:
49860 case 5400:
49862 break;
49863 }
49864 }
49865 }
static readonly int maxBuffs
void AddBuff(int type, int timeToAdd, bool quiet=true, bool foodHack=false)
References Terraria.Main.myPlayer, Terraria.Main.rand, and Terraria.Main.runningCollectorsEdition.