Fandom

WoWWiki

API CraftIsPetTraining

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < CraftIsPetTraining

Determine if the current 'crafting' skill is the pet training one.

isPetTraining = CraftIsPetTraining()


Returns Edit

isPetTraining 
Boolean - True if the current "crafting" skill is the Hunter's Beast Training; false otherwise.


Details Edit

As of Patch 2.2.3, the only skills which use the Crafting APIs (as opposed to the TradeSkill APIs) are Beast Training and Enchanting; when Beast Training is the active skill, those APIs behave somewhat differently than they do for Enchanting (and than the analogous TradeSkill APIs do for other skills).

Also on Fandom

Random Wiki