WoW:API GetPetTrainingPoints: Difference between revisions
Jump to navigation
Jump to search
(Updated to not be a stub. Fixed the order of return values.) |
(removedapi) |
||
| Line 1: | Line 1: | ||
{{wowapi}} | {{removedapi|3.0|Pets now have talents rather than trainable skills.}} | ||
{{wowapi}} | |||
Gets the training point information about the current pet. | Gets the training point information about the current pet. | ||
local totalPoints, pointsSpent = GetPetTrainingPoints(); | local totalPoints, pointsSpent = GetPetTrainingPoints(); | ||
== Returns == | == Returns == | ||
;totalPoints : Number - The total of points spent and points available. | |||
;pointsSpent : Number - The number of points spent. | |||
Revision as of 15:08, 29 May 2009
This is no longer a part of the World of Warcraft API.
|
← WoW API < GetPetTrainingPoints
Gets the training point information about the current pet.
local totalPoints, pointsSpent = GetPetTrainingPoints();
Returns
- totalPoints
- Number - The total of points spent and points available.
- pointsSpent
- Number - The number of points spent.