Files
wow_Meta/api/CastSpell.lua
2025-05-04 15:15:00 +02:00

10 lines
454 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param id number
---@param bookType spell
---@param pet
---@param spell
---Casts a from the spellbook. Only protected (i.e. usable only by the Blizzard UI) if the given id corresponds to a spell which can be cast (not a passive spell) and is not a trade skill; can be used by addons to cast the "spells" that open trade skill windows.
function CastSpell(id, bookType, pet, spell) end