WoW:API GetRewardSpell: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 5: Line 5:


''local sTexture, sName = GetRewardSpell();''
''local sTexture, sName = GetRewardSpell();''
[[Category:API Functions|GetRewardSpell]]
[[Category:API Quest Functions|GetRewardSpell]]

Revision as of 12:36, 30 August 2005

Returns the texture and the name of a spell if rewarded. There could be more return values, i didnt used more.

Example:

local sTexture, sName = GetRewardSpell();