Navigation menu

WoW:API GetTrainerServiceCost: Difference between revisions

Jump to navigation Jump to search
Added the talent and profession cost variables that are returned.
(upgraded deprecated template)
(Added the talent and profession cost variables that are returned.)
Line 4: Line 4:
Returns the cost of the selected trainer service.
Returns the cost of the selected trainer service.


  GetTrainerServiceCost(index);
  local moneyCost, talentCost, professionCost = GetTrainerServiceCost(index);


----
----
Line 16: Line 16:
;''Returns''
;''Returns''


: Number serviceCost
: Number serviceCost, Number talentCost, Number professionCost


:; serviceCost : The cost of a specific service in copper.
:; serviceCost : The cost of a specific service in copper.
:; talentCost : The cost of the service in talent points.
:; professionCost : The cost of the service in available professions.


----
----
Anonymous user