Mystic Forge Question
Does not matter what you mix (if you mix) you will get any type of weapon back out. You will always get staffs if you put in 4 staffs, but if you put in 3 hammers and 1 staff you could very well get a pistol.
Edit: at rare level you can also put in armour or accessories and get out a weapon as long as you mix in one weapon in the group. At exotic level you can only put in the same type ie weapon or armour or accesssories together.