API SetSpecialization

Selects a specialization. SetSpecialization(specIndex [, isPet] )

Arguments

 * specIndex : Number - Index of the specialization to select, ascending from 1.
 * isPet : Boolean - if true, set the select a specialization for the player's pet, otherwise, select a specialization for the player.

Details

 * Fails silently if you/your pet already have selected a specialization.