Hi Ketho
Thanks for your post, and for the link to the wowtools database, something that I can see will be very useful in the future.
I have a button that will get the petGUID from the cursor on drop.
From the petGUID I want to add the following pet details to a table;
Lua Code:
petGUID
petHyperlink
petSpeciesID
petSummonSpellID
Testing with Abyssal Slitherling I can get the following on drop;
Lua Code:
petGUID = BattlePet-0-000007554101
petHyperlink = C_PetJournal.GetBattlePetLink(petGUID)
petSpeciesID = 2678
However I can only get the petSummonSpellID by tracking the
UNIT_SPELLCAST_SUCCEEDED event;
Lua Code:
petSummonSpellID = 118301
I want to be able to get the petSummonSpellID without having to summon the pet itself.
Using the csv table from the wowtools database the Abyssal Slitherling does not have a corresponding petSummonSpellID; so even if I use the database in a lua file and map the petSpeciesID I get a zero instead of the correct 118301.
Is there a reliable way to get either the petSummonSpellID without having to track the
UNIT_SPELLCAST_SUCCEEDED event, or, getting a full and complete pet database?