Files
wow_Meta/api/IsTalentSpell.lua
2025-05-04 14:35:26 +02:00

10 lines
522 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param bookType spell
---@param pet
---@param spell
---@return boolean isTalentSpell
---Returns true if the given spellbook item was added by an active talent. Used once in the BlizzardUI to determine whether an item in the player's active spellbook should have "Talent" in their subtext. This will not work with inactive spellbook items as their talents aren't currently selected.
function IsTalentSpell(index, bookType, pet, spell) end