Craft Magic Arms And Armor

Type: Item Creation
Source: Player's Handbook

You can create magic weapons, armor and shields.
Prerequisite: Spellcaster level 5th+
Benefit: You can create any magic weapon, armor, or shield whose prerequisites you meet. Enhancing a weapon, suit of armor, or shield takes 1 day for each 1,000 gp in the price of its magical features. To enhance a weapon, suit of armor, or shield, you must spend 1/25 of its features' total price in XP and use up raw materials costing half of this total price. See the DUNGEON MASTER'S Guide for descriptions of magic weapons, armor, and shields, the prerequisites associated with each one, and prices of their features. You can also mend a broken magic weapon, suit of armor, or shield if it is one that you could make. Doing so costs half the XP half the raw materials, and half the time it would take to enchant that item in the first place. The weapon, armor, or shield to be enhanced must be a master-work item that you must provide. (Its cost is not included in the above cost.)