WoW:API GetPetTrainingPoints: Difference between revisions
(Updated to not be a stub. Fixed the order of return values.) |
m (Move page script moved page API GetPetTrainingPoints to API GetPetTrainingPoints without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| 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. | |||
Latest revision as of 04:46, 15 August 2023
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.