GetSpellTabInfo() for Pet Spells ?
Hello,
I'd like to use something like GetSpellTabInfo() ( or GetFlyoutInfo() ) to get the number of Pet spells in its spellbook. But there seems to be no function to that effect. Is there? More details: I am currently doing something in the likes of: Code:
repeat Code:
for flyoutSlot = 1, select(3, GetFlyoutInfo(flyoutButtonID)) do |
Are you still working on this problem? I recently did some work modifying the spellbook for WoW Classic, and I may be able to help given the experimentation I did.
|
Quote:
I haven't been working on it, but I do still have the problem. I go around it by creating high level Trial Characters (which eventyally expire) and getting the data from them (sometimes after I've done some leveling on them to get the spells). It's time consuming but it's how I've been doing it. I am currently only working on Live (and occasionaly PTR) and I may not even need to work on it for Classic (I released LibSpellName2SID as a replacement to the abandoned LibBabble-SpellNames - tjhe oldest release in that lib's official repository is from the TBC expansion (or is it WoTLK?), but I found a version from Vanilla somewhere else (I haven't tested it yet and I'm not even sure where it's been legally hosted, so... But hopefully I'll be able to use that when the time comes). So, as to the problem above, I'd gretaly apreciate your thoughts. The context for the coding is in an addon that isn't published as such, but rather part of the LibSpellName2SID project. It can be downloaded from: http://svn.wowinterface.com/listing....pulator_trunk_ (you can check the branches too, if you're so inclined; that's where I keep the work for the next version). Thanks in advance! |
I worked through the SpellbookFrame.lua file. The function "HasPetSpells()" returns number of pet spells.
https://wow.gamepedia.com/API_HasPetSpells I haven't used libraries for anything, yet. |
Thanks a lot! I actually remember using tht function in my addon. How did I miss that? LOL
I'll have a look into it. Thanks again! :cool: |
Quote:
|
All times are GMT -6. The time now is 08:17 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI