The Weapons were powered by synthetic auracite, into which combat data of various legates was loaded. (Except for the Diamond Weapon, which seems to have had a copy of Alphonse's mind copied into it wholesale.)