WoW:API CastSpell: Difference between revisions

m
Move page script moved page API CastSpell to WoW:API CastSpell without leaving a redirect
No edit summary
m (Move page script moved page API CastSpell to WoW:API CastSpell without leaving a redirect)
 
(3 intermediate revisions by 2 users not shown)
Line 18: Line 18:


==Note==
==Note==
Use "spell" or SpellBookFrame.booktype as the spellbookType for any non-pet spell. The id is counted from 1 through all spell types (tabs on the right side of SpellBookFrame). Pet spells also start from 1. (See example above). The CastSpell function can not be used outside Blizzard-signed code.
Use "spell" or SpellBookFrame.booktype as the spellbookType for any non-pet spell. The id is counted from 1 through all spell types (tabs on the right side of SpellBookFrame). Pet spells also start from 1. (See example above). The CastSpell function can not be used outside Blizzard-signed code except when "casting" trade skills (e.g. Cooking, Alchemy, etc.).
Anonymous user