WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   How to get all Azerite Essences' spells names / IDs / ranks ? (https://www.wowinterface.com/forums/showthread.php?t=57295)

aallkkaa 07-17-19 06:11 AM

How to get all Azerite Essences' spells names / IDs / ranks ?
 
For my LibSpellName2SID addons, I'm looking for a way to retrieve all the Azerite Essences' spells, introduced in WoW 8.2.0, from the servers.

I know I can get a list of all Azerite Essences ("items") with the function C_AzeriteEssence.GetEssences().
But what info from the resulting list, an with what functions, can I retrieve the Major and Minor spells for each rank?

For example, with this information, retrieved with C_AzeriteEssence.GetEssences():
Code:

{
    valid=true,
    name="The Crucible of Flame",
    ID=12,
    icon=3015740,
    unlocked=true,
    rank=1
  },

How do I get the following information (preferably not only for Rank 1, but for all four):
Code:

{
["Concentrated Flame"] = 295373,  -- Major
["Ancient Flame"] = 295365,  -- Minor
},

?

Ketho 07-17-19 06:36 AM

I don't know about the API but otherwise you can find that information here externally
https://wow.tools/dbc/?dbc=azeritees...#search=295373

aallkkaa 07-17-19 09:05 AM

Thank you, that does help a lot! :)


All times are GMT -6. The time now is 12:07 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI