View Single Post
09-08-21, 05:51 PM   #1
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
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."
Fizzlemizz
  Reply With Quote