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

  • Starts changing specialization cast time regardless of given specIndex is valid or not.
  • Fails if setting specialization to "Initial" with specIndex of 5.

Patch changes

See also