C_SpellBook.GetCurrentLevelSpells

From Warcraft Wiki
Jump to navigation Jump to search

Returns the new spells that will become available for a specific level.

spellIDs = C_SpellBook.GetCurrentLevelSpells(level)

Arguments

level
number

Returns

spellIDs
number[]

Example

/dump C_SpellBook.GetCurrentLevelSpells(2)
>> {589} -- Shadow Word: Pain

Patch changes

Shadowlands Patch 9.1.0 (2021-06-29): Added.