WoW API: CraftIsPetTraining

From AddOn Studio
Revision as of 23:15, 11 October 2007 by WoWWiki>GazmikFizzwidget (Basic docs for CraftIsPetTraining())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < CraftIsPetTraining

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

isPetTraining = CraftIsPetTraining()


Returns

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


Details

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).