Files
wow_Meta/api/GetRewardSpell.lua
2024-12-16 13:13:08 +01:00

8 lines
663 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@return string texture
---@return string name
---@return 1nil isTradeskillSpell
---@return 1nil isSpellLearned
---Returns information about a spell awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return zero or values from the most recently displayed quest. If both isTradeskillSpell and isSpellLearned are nil, the reward is a spell cast upon the player.
function GetRewardSpell() end