WoWInterface - View Single Post - Get pet summon spell ID
View Single Post
09-08-21, 05:51 PM   #1
A Flamescale Wyrmkin
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 142
Get pet summon spell ID

Hi all

I want to be able to determine the summon spellID from the petGUID.

Right now I can get the pet summon spellID only when I track the UNIT_SPELLCAST_SUCCEEDED event.

Here is my chunk and its result;

Here is all the pet details in-game using the WoWLua addon;

I have read up on strings and wonder if I can strip and convert the petGUID to the spellID, yet have not yet been successful.

Is there a way to capture the pet summon spellID other than summoning?
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
  Reply With Quote