Class

Class is a trait generated by npcGenerator. Class represents the job of the npc, and is deliberately different from the World of Warcraft class. It can be considered a mix of the World of Warcraft class-system and it's professions, as well as an extension of it. Anything that can be considered a job can be an npcG-Class. In addition, fake jobs for children, such as "brat", or pretend "archmage" can be npcG-Classes.

Classes depend on a great many things, namely race, faith, gender and age.

Classes also have a ClassType associated to them, to bundle classes into common characteristics, to retrieve them instead of having to list every individual class. Some of the World of Warcraft classes are ClassTypes rather than Classes.

Functionality
Classes can be found under modules/classes.lua. It supports the following functions:
 * generateRandomClass
 * allClassesExcept
 * classesByType