Worn gear gains EXP from kills and levels up. At its last item level, type @evolve in game to turn it into the next piece of its chain. The first evolution is free; later ones cost meso and Monster Crystals, which drop from every mob in the matching level range. Weapon type is picked on the first evolution: @evolve <number> <type>, for example @evolve 1 spear. Anything your gear has above its average stats carries over, and the new piece gets a fresh stat roll.