This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions
Fills the tooltip with information about a spell from the player (or pet's) spellbook
Signature:
GameTooltip:SetSpell(id,
"bookType")
Arguments:
id
- Index of a spell in the spellbook (number
, spellbookID)bookType
- Type of spellbook (string
)pet
- The pet's spellbookspell
- The player's spellbook