Terraria.Player.ArmorSetDye C# (CSharp) Method

ArmorSetDye() public method

public ArmorSetDye ( ) : int
return int
        public int ArmorSetDye()
        {
            switch (Main.rand.Next(3))
            {
                case 0:
                    return this.cHead;
                case 1:
                    return this.cBody;
                case 2:
                    return this.cLegs;
                default:
                    return this.cBody;
            }
        }
Player