Thread Tools Display Modes
02-02-16, 12:43 AM   #1
vincenzo
A Kobold Labourer
Join Date: Feb 2016
Posts: 1
Get Battlepet ID from Consumable?

Hi all,

I was wondering if there is any way to obtain the battlepet ID from the consumable item that provides the pet? Some consumables have completely different names to the pet they actually give you, so unfortunately I can't use the C_PetJournal.FindPetIDByName function.
  Reply With Quote
02-07-16, 08:51 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
https://github.com/Phanx/BetterBattl...aster/Data.lua
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Get Battlepet ID from Consumable?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off