WoW API: CraftIsPetTraining

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API CraftIsPetTraining to API CraftIsPetTraining without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < CraftIsPetTraining

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

isPetTraining = CraftIsPetTraining()

ParametersEdit

ReturnsEdit

  • isPetTraining (boolean) - true if the current "crafting" skill is the Hunter's Beast Training, false otherwise.

DetailsEdit

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)

NotesEdit