Stackoverflow when attempting arithmetic between classes
I have a simple class that contains basic skill attributes for a game. Each player has this skills class attached. I’d like to be able to do basic arithmetic, e.g. playerSkills = playerSkills + 2, and it would go through and add 2 to everything within the class, or perhaps I’d want to add two classes together like playerSkills3 = playerSkills2 + playerSkills1.