Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetNumTalents

From Wowpedia
Jump to: navigation, search

Returns the maximum talent slot index (optionally for an inspected player).

numTalents = GetNumTalents(inspect);

Arguments

inspect 
Boolean - If true, returns information for the inspected unit; otherwise, returns information for the player character.

Returns

numTalents 
Number - Maximum talent slot index for the queried unit, i.e. always 18 in Mists of Pandaria.

Patch changes

  • Mists of Pandaria Patch 5.0.4 (2012-08-28): Arguments changed with the new talent system; talent tabs no longer exist.

See also