I'm trying to make a function that will take a enum from a class and set it equal to whatever I called in the function. I can't seem to get it to work though.
You have no members of types enum armourPiece and enum armourMaterial in the class. So it is not clear why you defined non-static member functions that deal with objects of these types passed as arguments to the functions. I do not see any sense in such class definition.