API GetNumSpecializationsForClassID

From Wowpedia
Jump to: navigation, search

Returns the number of specializations available to a particular class.

numSpecializations = GetNumSpecializationsForClassID(classID)

Arguments

classID 
Number (classId) - class ID to return information about.

Returns

numSpecialization 
Number - number of specializations available to characters of the specified class.

Details

  • Druids currently have 4 available specializations, demon hunters have 2; other classes have 3.

Patch changes

See also