WoW:API GetPetTrainingPoints: Difference between revisions

m
Move page script moved page API GetPetTrainingPoints to WoW:API GetPetTrainingPoints without leaving a redirect
No edit summary
 
m (Move page script moved page API GetPetTrainingPoints to WoW:API GetPetTrainingPoints without leaving a redirect)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Returns two pieces of information, number of training points used so far, and the total number of points, free and used, the pet had.  In that order.
{{removedapi|3.0|Pets now have talents rather than trainable skills.}}
{{wowapi}}
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.
Anonymous user