10 lines
669 B
Lua
10 lines
669 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
|
|
---@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
|