SetSpecialization

From Warcraft Wiki
Jump to navigation Jump to search

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.

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also