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

7 lines
561 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param spellID number
---@return boolean isPlayerSpell
---Returns true if the spell is available to the player's current specialization and talents. This does not check any immediate circumstances that would prevent the casting action itself; only that the spell is available within the constraints of active specialization/talent choices. Used by BlizzardUI to determine the drawing of several class-specific power indicators such as Eclipse and Burning Embers.
function IsPlayerSpell(spellID) end